Detail backup states

This commit is contained in:
tusooa 2022-12-16 02:56:32 -05:00
commit e4ac2a7cd6
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
5 changed files with 166 additions and 29 deletions

View file

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