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
1 changed files with 1 additions and 1 deletions

View File

@ -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