projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
040524c
)
Bring back oban job pruning
author
rinpatch
<rinpatch@sdf.org>
Wed, 15 Jul 2020 13:20:17 +0000
(16:20 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Wed, 15 Jul 2020 13:20:17 +0000
(16:20 +0300)
Closes #1945
config/config.exs
patch
|
blob
|
history
diff --git
a/config/config.exs
b/config/config.exs
index 6fc84efc2abae11b90bc31620b1f93b93435f185..daeefdca36517e7e59fe130e8972355102562f1e 100644
(file)
--- 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},