Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RetryOptions

Package version

Options that control how to retry failed requests.

Hierarchy

  • RetryOptions

Index

Properties

Optional maxRetries

maxRetries: undefined | number

The maximum number of retry attempts. Defaults to 3.

Optional maxRetryDelayInMs

maxRetryDelayInMs: undefined | number

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

Optional mode

mode: RetryMode

Currently supporting only Exponential mode.

Optional retryDelayInMs

retryDelayInMs: undefined | number

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.

Generated using TypeDoc