Extend the backup job time limit to 30 minutes

This commit is contained in:
Mark Felder 2024-06-24 22:58:38 -04:00
parent 3f60d7bf64
commit e5cbbaf3f0

View file

@ -32,7 +32,7 @@ defmodule Pleroma.Workers.BackupWorker do
end
@impl Oban.Worker
def timeout(_job), do: :timer.minutes(5)
def timeout(_job), do: :timer.minutes(30)
defp has_email?(user) do
not is_nil(user.email) and user.email != ""