Extend the backup job time limit to 30 minutes
This commit is contained in:
parent
3f60d7bf64
commit
e5cbbaf3f0
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ defmodule Pleroma.Workers.BackupWorker do
|
||||||
end
|
end
|
||||||
|
|
||||||
@impl Oban.Worker
|
@impl Oban.Worker
|
||||||
def timeout(_job), do: :timer.minutes(5)
|
def timeout(_job), do: :timer.minutes(30)
|
||||||
|
|
||||||
defp has_email?(user) do
|
defp has_email?(user) do
|
||||||
not is_nil(user.email) and user.email != ""
|
not is_nil(user.email) and user.email != ""
|
||||||
|
|
Loading…
Add table
Reference in a new issue