Optional ReadonlyattemptsTotal attempts (including the first). Default 3. Set 1 to disable.
Optional ReadonlybaseInitial backoff in ms. Default 200.
Optional ReadonlymaxCap for backoff (ms). Default 5_000.
Optional ReadonlyshouldDecide whether to retry a given error. Default: retry network errors and 5xx / 429 HTTP statuses.
Retry policy.