From b9cffad02aa2c61b2ef57036d4cebd34c5250ec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Yule=20B=C3=A4dorf?= Date: Sun, 24 Mar 2024 18:24:30 +0100 Subject: [PATCH] matrix: set forgotten_room_retention_period to 7d This commit sets the value for the synapse config option `forgotten_room_retention_period` to 7 days. This was previously unset, meaning rooms that had no more local users were never purged from the database. The new value makes sure that 7 days after the last local user left a room, it will be permanently deleted from the database. https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html?highlight=forgotten_room_retention_period#forgotten_room_retention_period --- hosts/nachtigall/apps/matrix/synapse.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/nachtigall/apps/matrix/synapse.nix b/hosts/nachtigall/apps/matrix/synapse.nix index 9a16c368..3dd71eef 100644 --- a/hosts/nachtigall/apps/matrix/synapse.nix +++ b/hosts/nachtigall/apps/matrix/synapse.nix @@ -188,6 +188,7 @@ in per_second = 0.17; }; redaction_retention_period = "7d"; + forgotten_room_retention_period = "7d"; redis.enabled = false; registration_requires_token = false; registrations_require_3pid = [ "email" ];