MCPcopy Create free account
hub / github.com/Noumena-Network/code / getDefaultMaxRetries

Function getDefaultMaxRetries

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

Source from the content-addressed store, hash-verified

836}
837
838export function getDefaultMaxRetries(): number {
839 if (process.env.CLAUDE_CODE_MAX_RETRIES) {
840 return parseInt(process.env.CLAUDE_CODE_MAX_RETRIES, 10)
841 }
842 return DEFAULT_MAX_RETRIES
843}
844function getMaxRetries(options: RetryOptions): number {
845 return options.maxRetries ?? getDefaultMaxRetries()
846}

Callers 3

classifyYoloActionXmlFunction · 0.85
classifyYoloActionFunction · 0.85
getMaxRetriesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected