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.
This commit is contained in:
Mark Felder 2021-01-15 14:50:32 -06:00
parent cf367fdbd5
commit f9e0c05ca4

View File

@ -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
],