estimateRestoreTime() — supabase Function Reference
Architecture documentation for the estimateRestoreTime() function in BranchManagement.utils.ts from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD ab314ffd_d826_229f_1799_b6b77af56fac["estimateRestoreTime()"] 8505154a_957e_9e24_3406_97558e329ee1["CreateBranchModal()"] 8505154a_957e_9e24_3406_97558e329ee1 -->|calls| ab314ffd_d826_229f_1799_b6b77af56fac style ab314ffd_d826_229f_1799_b6b77af56fac fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/studio/components/interfaces/BranchManagement/BranchManagement.utils.ts lines 63–66
export const estimateRestoreTime = (disk: DiskAttributesData['attributes']) => {
// This is interpolated from real restore time
return (720 / 21000) * disk.size_gb + 3
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does estimateRestoreTime() do?
estimateRestoreTime() is a function in the supabase codebase.
What calls estimateRestoreTime()?
estimateRestoreTime() is called by 1 function(s): CreateBranchModal.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free