[#1149] Refactoring: GenServer workers renamed to daemons, use Oban.Worker moved to helper.
This commit is contained in:
parent
dd017c65a4
commit
b49085c156
19 changed files with 20 additions and 65 deletions
|
|
@ -54,7 +54,7 @@ config :pleroma, Pleroma.Repo,
|
|||
scheduled_jobs =
|
||||
with digest_config <- Application.get_env(:pleroma, :email_notifications)[:digest],
|
||||
true <- digest_config[:active] do
|
||||
[{digest_config[:schedule], {Pleroma.DigestEmailWorker, :perform, []}}]
|
||||
[{digest_config[:schedule], {Pleroma.Daemons.DigestEmailDaemon, :perform, []}}]
|
||||
else
|
||||
_ -> []
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue