logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: f9e0c05ca443ce2525203f9819e38c036fc51ea8
parent cf367fdbd53b50f4324a01ddabdc0520cd787321
Author: Mark Felder <feld@feld.me>
Date:   Fri, 15 Jan 2021 14:50:32 -0600

Only run one attachment cleanup job per node

The previous limit of 5 was probably causing massing performance issues due to concurrent full table scans.

Diffstat:

Mconfig/config.exs2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/config.exs b/config/config.exs @@ -542,7 +542,7 @@ config :pleroma, Oban, scheduled_activities: 10, background: 5, remote_fetcher: 2, - attachments_cleanup: 5, + attachments_cleanup: 1, new_users_digest: 1, mute_expire: 5 ],