From 086052efc0dd8844eee4b5c3234200ad66718653 Mon Sep 17 00:00:00 2001 From: wj25czxj47bu6q <96372288+wj25czxj47bu6q@users.noreply.github.com> Date: Sun, 27 Oct 2024 05:43:56 +0000 Subject: [PATCH] Reduce remote media lifetime MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Freed almost 600 GB of storage Signed-off-by: wj25czxj47bu6q <96372288+wj25czxj47bu6q@users.noreply.github.com> --- etc/matrix-synapse/conf.d/media.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/matrix-synapse/conf.d/media.yaml b/etc/matrix-synapse/conf.d/media.yaml index 0620ed4..76447e2 100644 --- a/etc/matrix-synapse/conf.d/media.yaml +++ b/etc/matrix-synapse/conf.d/media.yaml @@ -2,7 +2,7 @@ max_upload_size: 30M media_store_path: /var/lib/matrix-synapse/media media_retention: local_media_lifetime: 1y - remote_media_lifetime: 1y + remote_media_lifetime: 26w url_preview_enabled: true url_preview_ip_range_blacklist: - '127.0.0.0/8'