diff options
author | Erik Johnston <erikj@jki.re> | 2019-05-15 09:54:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-15 09:54:15 +0100 |
commit | 99c7dae087fc2412dad6a8f8efb1362c04df3afc (patch) | |
tree | 1f921d8566159bb29bc353c9ec17d78ebc7d72c9 /tests/utils.py | |
parent | comment about user_joined_room (diff) | |
parent | Newsfile (diff) | |
download | synapse-99c7dae087fc2412dad6a8f8efb1362c04df3afc.tar.xz |
Merge pull request #5185 from matrix-org/erikj/fix_config_ratelimiting
Use correct config option for ratelimiting in tests
Diffstat (limited to 'tests/utils.py')
-rw-r--r-- | tests/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/utils.py b/tests/utils.py index f21074ae28..f38533a0c7 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -156,7 +156,8 @@ def default_config(name, parse=False): "mau_stats_only": False, "mau_limits_reserved_threepids": [], "admin_contact": None, - "rc_message": {"per_second": 10000, "burst_count": 10000}, + "rc_messages_per_second": 10000, + "rc_message_burst_count": 10000, "rc_registration": {"per_second": 10000, "burst_count": 10000}, "rc_login": { "address": {"per_second": 10000, "burst_count": 10000}, |