diff options
author | Erik Johnston <erik@matrix.org> | 2020-07-31 14:34:42 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2020-07-31 15:06:56 +0100 |
commit | 18de00adb4471a55b504f4afb9f29facf0a51785 (patch) | |
tree | eb2980609580bb8c4ae5a6bc3b152d6571d2fd40 /tests | |
parent | Fix formatting of changelog and upgrade notes (diff) | |
download | synapse-18de00adb4471a55b504f4afb9f29facf0a51785.tar.xz |
Add ratelimiting on joins
Diffstat (limited to 'tests')
-rw-r--r-- | tests/utils.py | 4 |
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, |