Bring back oban job pruning
authorrinpatch <rinpatch@sdf.org>
Wed, 15 Jul 2020 13:20:17 +0000 (16:20 +0300)
committerrinpatch <rinpatch@sdf.org>
Wed, 15 Jul 2020 13:20:17 +0000 (16:20 +0300)
Closes #1945

config/config.exs

index 6fc84efc2abae11b90bc31620b1f93b93435f185..daeefdca36517e7e59fe130e8972355102562f1e 100644 (file)
@@ -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},