Function: calculateMaxCheckDurationSeconds()
calculateMaxCheckDurationSeconds(
args: {retryAttempts:number;timeoutSeconds:number; }): {backoffSeconds:number;totalAttempts:number;totalSeconds:number; }
Defined in: src/components/SiteDetails/tabs/SettingsTab.utils.ts:49
Calculate the maximum potential duration of a monitor check including retries and exponential backoff.
Parametersโ
argsโ
retryAttemptsโ
number
timeoutSecondsโ
number
Returnsโ
{ backoffSeconds: number; totalAttempts: number; totalSeconds: number; }
backoffSecondsโ
readonlybackoffSeconds:number
totalAttemptsโ
readonlytotalAttempts:number
totalSecondsโ
readonlytotalSeconds:number