RetryOptions interface
Options that control how to retry failed requests.
Properties
max |
The maximum number of retry attempts. Defaults to 3. |
max |
The maximum delay in milliseconds allowed before retrying an operation. Defaults to 90000 (90 seconds). |
mode | Currently supporting only Exponential mode. |
retry |
The amount of delay in milliseconds between retry attempts. Defaults to 30000 (30 seconds). The delay increases exponentially with each retry up to a maximum specified by maxRetryDelayInMs. |
Property Details
maxRetries
The maximum number of retry attempts. Defaults to 3.
maxRetries?: number
Property Value
number
maxRetryDelayInMs
The maximum delay in milliseconds allowed before retrying an operation. Defaults to 90000 (90 seconds).
maxRetryDelayInMs?: number
Property Value
number
mode
retryDelayInMs
The amount of delay in milliseconds between retry attempts. Defaults to 30000 (30 seconds). The delay increases exponentially with each retry up to a maximum specified by maxRetryDelayInMs.
retryDelayInMs?: number
Property Value
number