Bring back oban job pruning

Closes #1945
This commit is contained in:
rinpatch 2020-07-15 16:20:17 +03:00
parent 040524c09f
commit c413649a8d
1 changed files with 1 additions and 0 deletions

View 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},