MCPcopy Create free account
hub / github.com/boltrunner/gcli2api / WithRetries

Function WithRetries

internal/httpx/httpx.go:53–79  ·  view source on GitHub ↗

WithRetries runs fn with exponential backoff w/ jitter.

(ctx context.Context, max int, baseDelay time.Duration, fn func(attempt int) error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

doJSONMethod · 0.92

Calls

no outgoing calls

Tested by 1