mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-25 17:55:24 +01:00
oban warning
This commit is contained in:
parent
29c1178c2b
commit
f24828a3e8
@ -5,7 +5,11 @@ defmodule Pleroma.Config.Oban do
|
||||
oban_config = Pleroma.Config.get(Oban)
|
||||
|
||||
crontab =
|
||||
[Pleroma.Workers.Cron.StatsWorker, Pleroma.Workers.Cron.ClearOauthTokenWorker]
|
||||
[
|
||||
Pleroma.Workers.Cron.StatsWorker,
|
||||
Pleroma.Workers.Cron.PurgeExpiredActivitiesWorker,
|
||||
Pleroma.Workers.Cron.ClearOauthTokenWorker
|
||||
]
|
||||
|> Enum.reduce(oban_config[:crontab], fn removed_worker, acc ->
|
||||
with acc when is_list(acc) <- acc,
|
||||
setting when is_tuple(setting) <-
|
||||
|
Loading…
Reference in New Issue
Block a user