1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2025-01-18 16:10:41 +01:00

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 != ""