Features

Retry

Automatic retry of transient failures with exponential backoff

A feature adds behaviour around API calls without changing how you call the API. Being documented here does not mean it is switched on: features are off by default, and you enable the ones your application needs when you construct the client.

Options

The settings this feature reads, with the defaults compiled into the SDK. Pass replacements in the client configuration to change them; set active to turn the feature on.

{
  "active": false,
  "factor": 2,
  "maxDelay": 2000,
  "minDelay": 50,
  "retries": 2,
  "statuses": [
    408,
    425,
    429,
    500,
    502,
    503,
    504
  ]
}

Pipeline stages

No pipeline stages are enabled for this feature.