RetryBudgetOptions
Defined in: src/retry-budget.ts:3
Properties
Section titled “Properties”minRetriesPerSecond?
Section titled “minRetriesPerSecond?”
optionalminRetriesPerSecond?:number
Defined in: src/retry-budget.ts:7
Retries always allowed per second, so low-traffic callers can still retry. Default 10.
ratio?
Section titled “ratio?”
optionalratio?:number
Defined in: src/retry-budget.ts:5
Retries allowed as a fraction of original requests in the window. Default 0.2 (at most +20% load from retries).
timeProvider?
Section titled “timeProvider?”
optionaltimeProvider?:TimeProvider
Defined in: src/retry-budget.ts:10
window?
Section titled “window?”
optionalwindow?:Duration
Defined in: src/retry-budget.ts:9
Window the counts are kept for. Default 10 s.