Interface: RetryBudgetOptions
Defined in: api/rust-fetch.d.ts:121
A client-wide limit on retries, so a failing upstream doesn't get every request retried at once. Retries may add ratio of the first attempts in the last windowMs, plus minPerSecond per second of the window.
Properties
minPerSecond?
optionalminPerSecond?:number
Defined in: api/rust-fetch.d.ts:125
Retries allowed per second of the window whatever the traffic. Default: 10
ratio?
optionalratio?:number
Defined in: api/rust-fetch.d.ts:123
Retries allowed per first attempt in the window, on top of the minimum. Default: 0.2
windowMs?
optionalwindowMs?:number
Defined in: api/rust-fetch.d.ts:127
How far back first attempts and retries count, in ms; the budget refills as it slides. Default: 10000