summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-07-31 14:34:42 +0100
committerErik Johnston <erik@matrix.org>2020-07-31 15:06:56 +0100
commit18de00adb4471a55b504f4afb9f29facf0a51785 (patch)
treeeb2980609580bb8c4ae5a6bc3b152d6571d2fd40 /tests
parentFix formatting of changelog and upgrade notes (diff)
downloadsynapse-18de00adb4471a55b504f4afb9f29facf0a51785.tar.xz
Add ratelimiting on joins
Diffstat (limited to 'tests')
-rw-r--r--tests/utils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py

index ac643679aa..a8e85436f9 100644 --- a/tests/utils.py +++ b/tests/utils.py
@@ -154,6 +154,10 @@ def default_config(name, parse=False): "account": {"per_second": 10000, "burst_count": 10000}, "failed_attempts": {"per_second": 10000, "burst_count": 10000}, }, + "rc_joins": { + "local": {"per_second": 10000, "burst_count": 10000}, + "remote": {"per_second": 10000, "burst_count": 10000}, + }, "saml2_enabled": False, "public_baseurl": None, "default_identity_server": None,