Interface RetryConfiguration

Configure the retry logic for http calls. By default, this retries any request that returns a 429 3 times.

Hierarchy

  • RetryConfiguration

Properties

enabled?: boolean

Configure the usage of retries. Defaults to true on the Management Client and false on the Authentication Client.

maxRetries?: number

Configure the max amount of retries the SDK should do. Defaults to 5.

retryWhen?: number[]

Status Codes on which the SDK should trigger retries. Defaults to [429].