From c5a03efdf61cc1a936e1579d5f4445a895b9eb18 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Wed, 12 Mar 2025 09:13:43 +0200 Subject: [PATCH] Increase default Synapse/`rc_message` rate limits The new rate limits are more suitable for running Element Call. Ref: - https://github.com/element-hq/element-call/blob/93ae2aed9841e0b066d515c56bd4c122d2b591b2/docs/self-hosting.md#a-matrix-homeserver - https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3562 Instead of trying to increase them conditionally only when Element Call is enabled, it's simpler and good-enough to just increase them in all cases. --- roles/custom/matrix-synapse/defaults/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/custom/matrix-synapse/defaults/main.yml b/roles/custom/matrix-synapse/defaults/main.yml index 8e270a749..214e1841c 100644 --- a/roles/custom/matrix-synapse/defaults/main.yml +++ b/roles/custom/matrix-synapse/defaults/main.yml @@ -416,8 +416,8 @@ matrix_synapse_root_log_level: "WARNING" # Rate limits matrix_synapse_rc_message: - per_second: 0.2 - burst_count: 10 + per_second: 0.5 + burst_count: 30 matrix_synapse_rc_registration: per_second: 0.17