Skip to content

Commit

Permalink
Correct states included by retry_job/2
Browse files Browse the repository at this point in the history
The states incorrectly included `scheduled`, which is actually
supported.
  • Loading branch information
sorentwo committed Jan 2, 2025
1 parent 1692340 commit 79f5bdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/oban.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1258,8 +1258,8 @@ defmodule Oban do
defp safe_check(nil), do: nil

@doc """
Sets a job as `available`, adding attempts if already maxed out. Jobs currently `available`,
`executing` or `scheduled` are ignored. The job is scheduled for immediate execution.
Sets a job as `available`, adding attempts if already maxed out. Jobs currently `available` or
`executing` are ignored. The job is scheduled for immediate execution.
## Example
Expand Down

0 comments on commit 79f5bdf

Please sign in to comment.