Oban: more unique job constraints
This commit is contained in:
parent
2c916ccd89
commit
a887188890
6 changed files with 6 additions and 5 deletions
|
|
@ -7,7 +7,7 @@ defmodule Pleroma.Workers.ReceiverWorker do
|
|||
alias Pleroma.User
|
||||
alias Pleroma.Web.Federator
|
||||
|
||||
use Oban.Worker, queue: :federator_incoming, max_attempts: 5
|
||||
use Oban.Worker, queue: :federator_incoming, max_attempts: 5, unique: [period: :infinity]
|
||||
|
||||
@impl true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue