oban warning
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Mon, 7 Sep 2020 17:06:28 +0000 (20:06 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Thu, 10 Sep 2020 13:01:20 +0000 (16:01 +0300)
lib/pleroma/config/oban.ex

index c2d56ebab16beaa9e99f3ed94675b2f6a55c5e53..81758c93d67726f47a5153c2b51e4e5948c43853 100644 (file)
@@ -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) <-