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