diff --git a/lib/oban/backoff.ex b/lib/oban/backoff.ex index 8897a727..02b7f542 100644 --- a/lib/oban/backoff.ex +++ b/lib/oban/backoff.ex @@ -4,7 +4,7 @@ defmodule Oban.Backoff do @type jitter_mode :: :inc | :dec | :both @doc """ - Calculate an exponential backoff in millseconds for a given attempt. + Calculate an exponential backoff in seconds for a given attempt. By default, the exponent is clamped to a maximum of 10 to prevent unreasonably long delays.