[#1149] Oban mailer job. Adjusted tests.
This commit is contained in:
parent
0e1c481a94
commit
a180c1360e
7 changed files with 35 additions and 1 deletions
|
|
@ -233,6 +233,7 @@ defmodule Pleroma.Application do
|
|||
defp after_supervisor_start do
|
||||
with digest_config <- Application.get_env(:pleroma, :email_notifications)[:digest],
|
||||
true <- digest_config[:active] do
|
||||
# TODO: consider replacing with `quantum` scheduler
|
||||
PleromaJobQueue.schedule(
|
||||
digest_config[:schedule],
|
||||
:digest_emails,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue