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

Function shouldRetry529

src/services/api/withRetry.ts:88–93  ·  view source on GitHub ↗
(querySource: QuerySource | undefined)

Source from the content-addressed store, hash-verified

86])
87
88function shouldRetry529(querySource: QuerySource | undefined): boolean {
89 // undefined → retry (conservative for untagged call paths)
90 return (
91 querySource === undefined || FOREGROUND_529_RETRY_SOURCES.has(querySource)
92 )
93}
94
95// CLAUDE_CODE_UNATTENDED_RETRY: for unattended sessions (ant-only). Retries 429/529
96// indefinitely with higher backoff and periodic keep-alive yields so the host

Callers 1

withRetryFunction · 0.85

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected