From 55837241c2f16492c0d176be1b51bbc167bdbc7c Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org> Date: Wed, 16 Oct 2024 05:34:56 +0200 Subject: [PATCH] matrix: Update synapse to 1.117.0 --- roles/matrix/files/synapse-worker@.service | 1 + roles/matrix/files/synapse.service | 1 + roles/matrix/tasks/main.yml | 2 +- roles/matrix/templates/homeserver.yaml.j2 | 2 ++ 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/matrix/files/synapse-worker@.service b/roles/matrix/files/synapse-worker@.service index e4d423614..542480254 100644 --- a/roles/matrix/files/synapse-worker@.service +++ b/roles/matrix/files/synapse-worker@.service @@ -18,6 +18,7 @@ ExecStart=/var/lib/synapse/venv/bin/python -m synapse.app.generic_worker --confi SyslogIdentifier=synapse Environment=LD_PRELOAD=/usr/lib/libjemalloc.so +Environment=PYTHONMALLOC=malloc [Install] RequiredBy=synapse.service diff --git a/roles/matrix/files/synapse.service b/roles/matrix/files/synapse.service index 2361d456e..e6c48685b 100644 --- a/roles/matrix/files/synapse.service +++ b/roles/matrix/files/synapse.service @@ -19,6 +19,7 @@ ExecStart=/var/lib/synapse/venv/bin/python -m synapse.app.homeserver --config-pa SyslogIdentifier=synapse Environment=LD_PRELOAD=/usr/lib/libjemalloc.so +Environment=PYTHONMALLOC=malloc [Install] WantedBy=multi-user.target diff --git a/roles/matrix/tasks/main.yml b/roles/matrix/tasks/main.yml index 18456b8b8..72e231396 100644 --- a/roles/matrix/tasks/main.yml +++ b/roles/matrix/tasks/main.yml @@ -78,7 +78,7 @@ - name: Install synapse pip: name: - - 'matrix-synapse[postgres,oidc,systemd,url-preview,redis,user-search]==1.115.0' + - 'matrix-synapse[postgres,oidc,systemd,url-preview,redis,user-search]==1.117.0' state: latest extra_args: '--upgrade-strategy=eager' virtualenv: /var/lib/synapse/venv diff --git a/roles/matrix/templates/homeserver.yaml.j2 b/roles/matrix/templates/homeserver.yaml.j2 index a53d17ff1..dcdd6f1df 100644 --- a/roles/matrix/templates/homeserver.yaml.j2 +++ b/roles/matrix/templates/homeserver.yaml.j2 @@ -61,6 +61,8 @@ caches: presence: enabled: false +max_event_delay_duration: 24h + # Retention delete_stale_devices_after: 1y media_retention: -- GitLab