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

View file

@ -512,6 +512,7 @@
attachments_cleanup: 5, attachments_cleanup: 5,
new_users_digest: 1 new_users_digest: 1
], ],
plugins: [Oban.Plugins.Pruner],
crontab: [ crontab: [
{"0 0 * * *", Pleroma.Workers.Cron.ClearOauthTokenWorker}, {"0 0 * * *", Pleroma.Workers.Cron.ClearOauthTokenWorker},
{"0 * * * *", Pleroma.Workers.Cron.StatsWorker}, {"0 * * * *", Pleroma.Workers.Cron.StatsWorker},