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

Function getDefaultMaxRetries

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

Source from the content-addressed store, hash-verified

783}
784
785export function getDefaultMaxRetries(): number {
786 if (process.env.CLAUDE_CODE_MAX_RETRIES) {
787 return parseInt(process.env.CLAUDE_CODE_MAX_RETRIES, 10)
788 }
789 return DEFAULT_MAX_RETRIES
790}
791function getMaxRetries(options: RetryOptions): number {
792 return options.maxRetries ?? getDefaultMaxRetries()
793}

Callers 3

classifyYoloActionXmlFunction · 0.85
classifyYoloActionFunction · 0.85
getMaxRetriesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected