Home / Function/ calculateMaxIopsAllowedForDiskSizeWithio2() — supabase Function Reference

calculateMaxIopsAllowedForDiskSizeWithio2() — supabase Function Reference

Architecture documentation for the calculateMaxIopsAllowedForDiskSizeWithio2() function in DiskManagement.utils.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  286185f2_a0d5_3bed_586f_a6483e3bd18b["calculateMaxIopsAllowedForDiskSizeWithio2()"]
  36093eba_fdee_f0d6_0930_e23cece03c50["CreateDiskStorageSchema()"]
  36093eba_fdee_f0d6_0930_e23cece03c50 -->|calls| 286185f2_a0d5_3bed_586f_a6483e3bd18b
  style 286185f2_a0d5_3bed_586f_a6483e3bd18b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/studio/components/interfaces/DiskManagement/DiskManagement.utils.ts lines 292–294

export const calculateMaxIopsAllowedForDiskSizeWithio2 = (totalSize: number) => {
  return Math.min(500 * totalSize, 256000)
}

Subdomains

Frequently Asked Questions

What does calculateMaxIopsAllowedForDiskSizeWithio2() do?
calculateMaxIopsAllowedForDiskSizeWithio2() is a function in the supabase codebase.
What calls calculateMaxIopsAllowedForDiskSizeWithio2()?
calculateMaxIopsAllowedForDiskSizeWithio2() is called by 1 function(s): CreateDiskStorageSchema.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free