Merge branch 'fix/oban-pruning' into 'develop'

Bring back oban job pruning

Closes #1945

See merge request pleroma/pleroma!2768
This commit is contained in:
rinpatch 2020-07-15 13:52:01 +00:00
commit 2ce141fb0e
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},