Merge branch 'background-timeout' into 'develop'

Set background worker timeout to 15 minutes

See merge request pleroma/pleroma!3857
This commit is contained in:
Haelwenn 2023-03-25 05:40:35 +00:00 committed by Haelwenn (lanodan) Monnier
parent ad38cc3b0c
commit e4288df502

View file

@ -45,5 +45,5 @@ defmodule Pleroma.Workers.BackgroundWorker do
end
@impl Oban.Worker
def timeout(_job), do: :timer.seconds(5)
def timeout(_job), do: :timer.seconds(900)
end