Define sane Oban Worker timeouts
This commit is contained in:
parent
ceb07772d0
commit
8be7f87e1f
15 changed files with 46 additions and 0 deletions
|
|
@ -17,4 +17,7 @@ defmodule Pleroma.Workers.ReceiverWorker do
|
|||
e -> e
|
||||
end
|
||||
end
|
||||
|
||||
@impl Oban.Worker
|
||||
def timeout(_job), do: :timer.seconds(5)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue