MCPcopy Create free account
hub / github.com/IIIIQIIII/claude-code / getMaxRetries

Function getMaxRetries

src/services/api/withRetry.ts:791–793  ·  view source on GitHub ↗
(options: RetryOptions)

Source from the content-addressed store, hash-verified

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

Callers 1

withRetryFunction · 0.85

Calls 1

getDefaultMaxRetriesFunction · 0.85

Tested by

no test coverage detected