projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf367fd
)
Only run one attachment cleanup job per node
author
Mark Felder
<feld@feld.me>
Fri, 15 Jan 2021 20:50:32 +0000
(14:50 -0600)
committer
Mark Felder
<feld@feld.me>
Fri, 15 Jan 2021 20:50:32 +0000
(14:50 -0600)
The previous limit of 5 was probably causing massing performance issues due to concurrent full table scans.
config/config.exs
patch
|
blob
|
history
diff --git
a/config/config.exs
b/config/config.exs
index 7b14fbfe5af3499139c68202d7f407adf9a9ac04..db45f7a3d83aeeac1242f9e8accf50769964b614 100644
(file)
--- 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
],