From 8712e06d2793140dd03f83977bb198e088c64c15 Mon Sep 17 00:00:00 2001 From: Norm Date: Tue, 6 May 2025 12:43:31 -0400 Subject: [PATCH] Set cleanup_attachments to true by default Since bcfbfbcff594d3b4dc9241ad38df5c1ca5729145 (part of ), the overhead for cleaning up orphaned attachments has been drattically reduced. Most admins are unaware of this option even existing, but may notice an increase in the size of the uploads directory (or S3 bucket size if used instead) even if auto-expiring posts are used. This should hopefully make this problem more manageable. For those that still encounter performance issues, the setting can still be disabled if needed. --- config/config.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.exs b/config/config.exs index be6a0d81c..70070d9bc 100644 --- a/config/config.exs +++ b/config/config.exs @@ -251,7 +251,7 @@ registration_reason_length: 500, external_user_synchronization: true, extended_nickname_format: true, - cleanup_attachments: false, + cleanup_attachments: true, cleanup_attachments_delay: 1800, multi_factor_authentication: [ totp: [