ExponentialBackoffRetryOptions interface
Properties
maximum |
The maximum retry delay. This can be a number in milliseconds, or a Duration object |
max |
The maximum number of retries allowed per function execution. -1 means to retry indefinitely. |
minimum |
The minimum retry delay. This can be a number in milliseconds, or a Duration object |
strategy | The first retry waits for the minimum delay. On subsequent retries, time is added exponentially to the initial duration for each retry, until the maximum delay is reached. Exponential back-off adds some small randomization to delays to stagger retries in high-throughput scenarios. |
Property Details
maximumInterval
The maximum retry delay. This can be a number in milliseconds, or a Duration object
maximumInterval: number | Duration
Property Value
number | Duration
maxRetryCount
The maximum number of retries allowed per function execution. -1 means to retry indefinitely.
maxRetryCount: number
Property Value
number
minimumInterval
The minimum retry delay. This can be a number in milliseconds, or a Duration object
minimumInterval: number | Duration
Property Value
number | Duration
strategy
The first retry waits for the minimum delay. On subsequent retries, time is added exponentially to the initial duration for each retry, until the maximum delay is reached. Exponential back-off adds some small randomization to delays to stagger retries in high-throughput scenarios.
strategy: "exponentialBackoff"
Property Value
"exponentialBackoff"