SystemErrorRetryPolicyOptions interface

Options that control how to retry failed requests.

Properties

maxRetries

The maximum number of retry attempts. Defaults to 3.

maxRetryDelayInMs

The maximum delay in milliseconds allowed before retrying an operation. Defaults to 64000 (64 seconds).

retryDelayInMs

The amount of delay in milliseconds between retry attempts. Defaults to 1000 (1 second.) 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 64000 (64 seconds).

maxRetryDelayInMs?: number

Property Value

number

retryDelayInMs

The amount of delay in milliseconds between retry attempts. Defaults to 1000 (1 second.) The delay increases exponentially with each retry up to a maximum specified by maxRetryDelayInMs.

retryDelayInMs?: number

Property Value

number