From d9c30f586a8a406f4219ecd52ca691265a1625b9 Mon Sep 17 00:00:00 2001 From: David Teller Date: Thu, 6 Jan 2022 16:11:24 +0100 Subject: [PATCH] Reduce throttling With the default configuration, we are throttled extremely often. This eventually causes timeouts. --- mx-tester.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/mx-tester.yml b/mx-tester.yml index 21769a2..ca34105 100644 --- a/mx-tester.yml +++ b/mx-tester.yml @@ -10,6 +10,39 @@ down: finally: - docker stop mjolnir-test-reverse-proxy || true homeserver: + # Basic configuration. server_name: localhost:9999 public_baseurl: http://localhost:9999 registration_shared_secret: REGISTRATION_SHARED_SECRET + + # Getting rid of throttling. + rc_message: + per_second: 10000 + burst_count: 10000 + + rc_registration: + per_second: 10000 + burst_count: 10000 + + rc_login: + address: + per_second: 10000 + burst_count: 10000 + account: + per_second: 10000 + burst_count: 10000 + failed_attempts: + per_second: 10000 + burst_count: 10000 + + rc_admin_redaction: + per_second: 10000 + burst_count: 10000 + + rc_joins: + local: + per_second: 10000 + burst_count: 10000 + remote: + per_second: 10000 + burst_count: 10000