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

Function getMaxRetries

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

Source from the content-addressed store, hash-verified

842 return DEFAULT_MAX_RETRIES
843}
844function getMaxRetries(options: RetryOptions): number {
845 return options.maxRetries ?? getDefaultMaxRetries()
846}
847
848const DEFAULT_FAST_MODE_FALLBACK_HOLD_MS = 30 * 60 * 1000 // 30 minutes
849const SHORT_RETRY_THRESHOLD_MS = 20 * 1000 // 20 seconds

Callers 1

withRetryFunction · 0.85

Calls 1

getDefaultMaxRetriesFunction · 0.85

Tested by

no test coverage detected