MCPcopy Create free account
hub / github.com/cloudflare/computer / #retryIntent

Method #retryIntent

packages/computer/src/workspace.ts:672–678  ·  view source on GitHub ↗
(backend: string, attempt: number)

Source from the content-addressed store, hash-verified

670 }
671
672 #retryIntent(backend: string, attempt: number): SyncRetryIntent {
673 const delay = Math.min(
674 this.#retryMaxDelayMs,
675 this.#retryInitialDelayMs * 2 ** Math.max(0, attempt - 1),
676 );
677 return { backend, attempt, notBefore: this.#now() + delay };
678 }
679
680 // Drop a cached handle when an operation fails with a known
681 // transport-level error. Matches by identity — a concurrent

Callers 2

retryPendingSyncMethod · 0.95
#schedulePendingSyncMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected