MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getMaxRetries

Function getMaxRetries

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

Source from the content-addressed store, hash-verified

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

Callers 1

withRetryFunction · 0.85

Calls 1

getDefaultMaxRetriesFunction · 0.85

Tested by

no test coverage detected