From: Alexander Strizhakov Date: Mon, 7 Sep 2020 17:06:28 +0000 (+0300) Subject: oban warning X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=8af1fd32234df7d0cdb74d78bcca9f68587b70f2;p=akkoma oban warning --- diff --git a/lib/pleroma/config/oban.ex b/lib/pleroma/config/oban.ex index c2d56ebab..81758c93d 100644 --- a/lib/pleroma/config/oban.ex +++ b/lib/pleroma/config/oban.ex @@ -5,7 +5,7 @@ defmodule Pleroma.Config.Oban do oban_config = Pleroma.Config.get(Oban) crontab = - [Pleroma.Workers.Cron.StatsWorker] + [Pleroma.Workers.Cron.StatsWorker, 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) <-