From cbe63a2480abb9f03d3d6ea7b36c61b1069d5788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Wed, 22 Jun 2022 13:32:47 +0200 Subject: [PATCH] matrix: Update config 1.61.0 release. --- roles/matrix/templates/homeserver.yaml.j2 | 25 ++++++++++++++--------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/roles/matrix/templates/homeserver.yaml.j2 b/roles/matrix/templates/homeserver.yaml.j2 index dccff07..2490f91 100644 --- a/roles/matrix/templates/homeserver.yaml.j2 +++ b/roles/matrix/templates/homeserver.yaml.j2 @@ -364,6 +364,13 @@ manhole_settings: # #dummy_events_threshold: 5 +# An optional duration. If set, Synapse will run a daily background task to log out and +# delete any device that hasn't been accessed for more than the specified amount of time. +# +# Defaults to no duration, which means devices are never pruned. +# +delete_stale_devices_after: 1y + ## Homeserver blocking ## @@ -1043,6 +1050,14 @@ media_store_path: "/var/lib/synapse/media_store" # height: 600 # method: scale +# Controls whether local media and entries in the remote media cache +# (media that is downloaded from other homeservers) should be removed +# under certain conditions, typically for the purpose of saving space. +# +media_retention: + local_media_lifetime: 30d + remote_media_lifetime: 30d + # Is the preview URL API enabled? # # 'false' by default: uncomment the following to enable it (and specify a @@ -2523,16 +2538,6 @@ push: # "events_default": 1 -# Uncomment to allow non-server-admin users to create groups on this server -# -#enable_group_creation: true - -# If enabled, non server admins can only create groups with local parts -# starting with this prefix -# -#group_creation_prefix: "unofficial_" - - # User Directory configuration # -- 2.44.0