The number of milliseconds to wait before retrying a failed request. This will be increased exponentially {@see CommercetoolsApi.calculateDelay}.
OptionaljitterIf enabled, adds a random element to the exponential increase in retry time. See the following url for more details: https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/ We utilise the 'full' jitter + plus an additional decaying variance.
The maximum number of times that a request will be retried before returning the error caught from the last failure.
OptionalmethodPer-method retry policy overrides. When omitted, commercetools-aligned defaults apply:
Example — allow POST retry for inherently idempotent operations (e.g. OAuth2): methodPolicies: { POST: { retryableErrorCodes: ['ECONNABORTED', 'ETIMEDOUT'] } }
Configuration for retrying a request when it fails