From 4ff720d36fa30f5f3a7328edd3bfc7edf89cf48f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20Ro=C3=9Fner?= Date: Fri, 27 Sep 2024 09:34:23 +0200 Subject: [PATCH] fix(element): Set Synapse rate limit. --- helmfile/apps/element/values-synapse.yaml.gotmpl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/helmfile/apps/element/values-synapse.yaml.gotmpl b/helmfile/apps/element/values-synapse.yaml.gotmpl index aad18de2..6285cb85 100644 --- a/helmfile/apps/element/values-synapse.yaml.gotmpl +++ b/helmfile/apps/element/values-synapse.yaml.gotmpl @@ -13,6 +13,16 @@ configuration: additional_event_types: - "m.space.parent" - "m.room.power_levels" + # To allow intercom service logins for the users and also allow proper testautomation we want to raise the + # ratelimit in a reasonable manner. + # https://matrix-org.github.io/synapse/v1.59/usage/configuration/config_documentation.html#ratelimiting + rc_login: + account: + per_second: 2 + burst_count: 8 + address: + per_second: 2 + burst_count: 12 database: host: {{ .Values.databases.synapse.host | quote }}