commit: e5cbbaf3f0385492580b27a624b936c1d74757a1
parent 3f60d7bf644fc38e8e5d9f525a1675526ade0037
Author: Mark Felder <feld@feld.me>
Date: Mon, 24 Jun 2024 22:58:38 -0400
Extend the backup job time limit to 30 minutes
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pleroma/workers/backup_worker.ex b/lib/pleroma/workers/backup_worker.ex
@@ -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 != ""