Function: calculateMaxDuration()
calculateMaxDuration(
timeout:number,retryAttempts:number):string
Defined in: src/utils/duration.ts:22
Calculate the maximum duration for monitoring checks with retry attempts and exponential backoff.
Parametersโ
timeoutโ
number
Timeout value per attempt in seconds.
retryAttemptsโ
number
Number of retry attempts.
Returnsโ
string
Formatted duration string (for example "30s" or "2m").