versipellis

Versipellis Configuration Reference

[*.retries] Sub-Section

This sub-section can be added to:

It is entirely optional, but some fields may be required in some use-cases.

[!NOTE] The default retry policy is: up to 3 attempts, with exponential-backoff delays between them, starting from 1 second (±10% jitter).

[!IMPORTANT] PATCH and POST requests do not have a default retry policy, they require an explicit configuration of retries, if desired. This is because these HTTP methods are not guaranteed to be stateless or idempotent, so retrying them by default could lead to data corruption or duplication or other undesirable side effects.

type - which retry strategy to use when sending requests

max_attempts - maximum number of request attempts (original + retries)

interval - initial wait period between attempts

max_interval - when the backoff interval exceeds this (it’s multiplied by 2 on every iteration), reset it back to the initial interval