From: rinpatch Date: Wed, 15 Jul 2020 13:20:17 +0000 (+0300) Subject: Bring back oban job pruning X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=c413649a8db26db742ff53c6c09a9a3b96e8cb6a;p=akkoma Bring back oban job pruning Closes #1945 --- diff --git a/config/config.exs b/config/config.exs index 6fc84efc2..daeefdca3 100644 --- a/config/config.exs +++ b/config/config.exs @@ -512,6 +512,7 @@ config :pleroma, Oban, attachments_cleanup: 5, new_users_digest: 1 ], + plugins: [Oban.Plugins.Pruner], crontab: [ {"0 0 * * *", Pleroma.Workers.Cron.ClearOauthTokenWorker}, {"0 * * * *", Pleroma.Workers.Cron.StatsWorker},