Merge pull request 'Oban: Enable Reindexer plugin to reduce oban_jobs index DB bloat' (#7964) from oban-reindex-cron into develop

Reviewed-on: https://git.pleroma.social/pleroma/pleroma/pulls/7964
This commit is contained in:
Phantasm 2026-08-18 17:51:30 +00:00
commit 3ecfe034d7
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1 @@
Oban: Enabled the Reindexer plugin to reduce oban_jobs index DB bloat

View file

@ -607,7 +607,11 @@ config :pleroma, Oban,
search_indexing: [limit: 10, paused: true], search_indexing: [limit: 10, paused: true],
slow: 5 slow: 5
], ],
plugins: [Oban.Plugins.Lazarus, {Oban.Plugins.Pruner, max_age: 900}], plugins: [
Oban.Plugins.Lazarus,
{Oban.Plugins.Pruner, max_age: 900},
{Oban.Plugins.Reindexer, schedule: "@weekly"}
],
crontab: [ crontab: [
{"0 0 * * 0", Pleroma.Workers.Cron.DigestEmailsWorker}, {"0 0 * * 0", Pleroma.Workers.Cron.DigestEmailsWorker},
{"0 0 * * *", Pleroma.Workers.Cron.NewUsersDigestWorker}, {"0 0 * * *", Pleroma.Workers.Cron.NewUsersDigestWorker},