logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 8c5a68a62e0c6615783d1c3bab549a185a650fd6
parent 97d488aea3ce75e52d4e6ba9a3b5e4447b535879
Author: Mark Felder <feld@feld.me>
Date:   Wed, 24 Jul 2024 15:52:23 -0400

Increase Oban.Pruner max_age to 15 mins

Diffstat:

Mconfig/config.exs4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/config/config.exs b/config/config.exs @@ -580,6 +580,8 @@ config :pleroma, Pleroma.User, ], email_blacklist: [] +# The Pruner :max_age must be longer than Worker :unique +# value or it cannot enforce uniqueness. config :pleroma, Oban, repo: Pleroma.Repo, log: false, @@ -593,7 +595,7 @@ config :pleroma, Oban, search_indexing: [limit: 10, paused: true], slow: 5 ], - plugins: [Oban.Plugins.Pruner], + plugins: [{Oban.Plugins.Pruner, max_age: 900}], crontab: [ {"0 0 * * 0", Pleroma.Workers.Cron.DigestEmailsWorker}, {"0 0 * * *", Pleroma.Workers.Cron.NewUsersDigestWorker}