Skip to content

Commit

Permalink
Typo fix in Backoff.exponential/2 documentation (#964)
Browse files Browse the repository at this point in the history
Replace millseconds with seconds wording to avoid confusion
  • Loading branch information
ipuchkov authored Oct 12, 2023
1 parent b3b2bdd commit 655699d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oban/backoff.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 655699d

Please sign in to comment.