Retries topic

Retries

The clients retry failed calls with exponential backoff driven by a RetryPolicy. The policy sets how many attempts to make and how long to wait between them. A small helper decides which HTTP status codes are worth retrying, so rate limits and server faults back off while client errors fail fast.

Classes

RetryPolicy Retries
An exponential-backoff retry policy with bounded, deterministic jitter.

Functions

retryableStatus(int code) bool Retries
Whether an HTTP code should be retried (429 rate-limit or any 5xx).