retry package:stamina

Retry on all sync exceptions, async exceptions will still be thrown. The backoff delays between retries grow exponentially plus a random jitter. The backoff for retry attempt number _attempt_ is computed as:
backoffExpBase ** (attempt - 1) + random(0, backoffJitter)
With the default values, the backoff for the first 5 attempts will be:
2 ** 0 + random(0, 1) = 1 + random(0, 1)
2 ** 1 + random(0, 1) = 2 + random(0, 1)
2 ** 2 + random(0, 1) = 4 + random(0, 1)
2 ** 3 + random(0, 1) = 8 + random(0, 1)
2 ** 4 + random(0, 1) = 16 + random(0, 1)
If all retries fail, the last exception is let through.
Retry handler for HTTP requests. Retries a subset of HTTP exceptions and overrides the delay with the Retry-After header if present.
Settings for the retry functions.
Tracks the status of a retry All fields will be zero if no retries have been attempted yet.
Maximum backoff between retries at any time. Default to 60s.
Initial status of the retry, useful to override when resuming a retry