MCPcopy
hub / github.com/codeaashu/claude-code / getDefaultMaxRetries

Function getDefaultMaxRetries

src/services/api/withRetry.ts:789–794  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

787}
788
789export function getDefaultMaxRetries(): number {
790 if (process.env.CLAUDE_CODE_MAX_RETRIES) {
791 return parseInt(process.env.CLAUDE_CODE_MAX_RETRIES, 10)
792 }
793 return DEFAULT_MAX_RETRIES
794}
795function getMaxRetries(options: RetryOptions): number {
796 return options.maxRetries ?? getDefaultMaxRetries()
797}

Callers 3

classifyYoloActionXmlFunction · 0.85
classifyYoloActionFunction · 0.85
getMaxRetriesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected