(options: RetryOptions)
| 789 | return DEFAULT_MAX_RETRIES |
| 790 | } |
| 791 | function getMaxRetries(options: RetryOptions): number { |
| 792 | return options.maxRetries ?? getDefaultMaxRetries() |
| 793 | } |
| 794 | |
| 795 | const DEFAULT_FAST_MODE_FALLBACK_HOLD_MS = 30 * 60 * 1000 // 30 minutes |
| 796 | const SHORT_RETRY_THRESHOLD_MS = 20 * 1000 // 20 seconds |
no test coverage detected