Skip to content

Commit

Permalink
Revert "Restore default job priority (#1035)"
Browse files Browse the repository at this point in the history
The Ecto default was removed to allow overriding the default in the
database.

This reverts commit f270f8d.
  • Loading branch information
sorentwo committed Feb 28, 2024
1 parent febfc63 commit 12c4cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oban/job.ex
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ defmodule Oban.Job do
field :attempt, :integer, default: 0
field :attempted_by, {:array, :string}
field :max_attempts, :integer, default: 20
field :priority, :integer, default: 0
field :priority, :integer

field :attempted_at, :utc_datetime_usec
field :cancelled_at, :utc_datetime_usec
Expand Down

0 comments on commit 12c4cdf

Please sign in to comment.