Merge branch 'background-timeout' into 'develop'
Set background worker timeout to 15 minutes See merge request pleroma/pleroma!3857
This commit is contained in:
parent
ad38cc3b0c
commit
e4288df502
|
@ -45,5 +45,5 @@ def perform(%Job{args: %{"op" => "delete_instance", "host" => host}}) do
|
|||
end
|
||||
|
||||
@impl Oban.Worker
|
||||
def timeout(_job), do: :timer.seconds(5)
|
||||
def timeout(_job), do: :timer.seconds(900)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue