Interface: RestRetriesBackoffOptions
Defined in: rest/v2/oauth2/rest/retries.ts:6
Properties
jitter?
optional
jitter:number
Defined in: rest/v2/oauth2/rest/retries.ts:17
The maximum time (in ms) to add to each backoff. Will be a pseudorandom number between 0 and jitter.
limit?
optional
limit:number
Defined in: rest/v2/oauth2/rest/retries.ts:33
The maximum time (in ms) the backoff can be (excluding jitter)
strategy
strategy:
"linear"
|"exponential"
| (retries
,backoff
) =>number
Defined in: rest/v2/oauth2/rest/retries.ts:25
The strategy to use.
- linear: (retries * time)
- exponential: (retries * retries * time)
- custom
time
time:
number
Defined in: rest/v2/oauth2/rest/retries.ts:11
The time (in ms) to wait between a retried request. Combined with the strategy it will result in a final backoff time.