Allows customizing the default retry configuration. It is only permitted in methods that accept retry policies.
strategy
`"backoff"
"none"`
The retry strategy to use.
backoff
BackoffStrategy
When strategy is "backoff", this configurates for the backoff parameters.
retryConnectionErrors
*boolean*
When strategy is "backoff", this determines whether or not to retry on connection errors.
true
The backoff strategy allows retrying a request with an exponential backoff between each retry.
initialInterval
*number*
The initial interval in milliseconds.
500
maxInterval
The maximum interval in milliseconds.
60000
exponent
The exponent to use for the backoff.
1.5
maxElapsedTime
The maximum elapsed time in milliseconds.
300000
Last updated 1 month ago