summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2021-01-15 14:50:32 -0600
committerMark Felder <feld@feld.me>2021-01-15 14:50:32 -0600
commitf9e0c05ca443ce2525203f9819e38c036fc51ea8 (patch)
treee9fdc89007d4e4d113fe878cf6378a479c6fa85a /config
parentcf367fdbd53b50f4324a01ddabdc0520cd787321 (diff)
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 (limited to 'config')
-rw-r--r--config/config.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs
index 7b14fbfe5..db45f7a3d 100644
--- 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
],