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
This commit is contained in:
Benjamin Yule Bädorf 2024-03-24 18:24:30 +01:00
parent ef943f02e3
commit b9cffad02a
Signed by untrusted user: b12f
GPG key ID: 729956E1124F8F26

View file

@ -188,6 +188,7 @@ in
per_second = 0.17; per_second = 0.17;
}; };
redaction_retention_period = "7d"; redaction_retention_period = "7d";
forgotten_room_retention_period = "7d";
redis.enabled = false; redis.enabled = false;
registration_requires_token = false; registration_requires_token = false;
registrations_require_3pid = [ "email" ]; registrations_require_3pid = [ "email" ];