(options: RetryOptions)
| 842 | return DEFAULT_MAX_RETRIES |
| 843 | } |
| 844 | function getMaxRetries(options: RetryOptions): number { |
| 845 | return options.maxRetries ?? getDefaultMaxRetries() |
| 846 | } |
| 847 | |
| 848 | const DEFAULT_FAST_MODE_FALLBACK_HOLD_MS = 30 * 60 * 1000 // 30 minutes |
| 849 | const SHORT_RETRY_THRESHOLD_MS = 20 * 1000 // 20 seconds |
no test coverage detected