# `Rexsilient.Retry.Strategy.Decorrelated`
[🔗](https://github.com/fabiobarkoski/rexsilient/blob/v1.0.0/lib/rexsilient/retry/strategy/decorrelated.ex#L1)

Waits a random time based on the previous wait, up to a maximum.

Each wait is a random value from `base_delay` to three times the previous
wait, capped at `max_delay`; see `Rexsilient.Jitter.decorrelated/3`. Waits
grow on average, like `Rexsilient.Retry.Strategy.Exponential`, but each
caller's waits drift apart.

## Options

  * `:base_delay` - the shortest wait, in milliseconds, and the base of the
    first one. Required.

  * `:max_delay` - the longest wait, in milliseconds. Required.

## Examples

    strategy Rexsilient.Retry.Strategy.Decorrelated,
      base_delay: 100,
      max_delay: 5_000

---

*Consult [api-reference.md](api-reference.md) for complete listing*
