mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-17 19:23:52 +01:00
Merge pull request #5185 from matrix-org/erikj/fix_config_ratelimiting
Use correct config option for ratelimiting in tests
This commit is contained in:
commit
99c7dae087
2 changed files with 3 additions and 1 deletions
1
changelog.d/5185.misc
Normal file
1
changelog.d/5185.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Update tests to consistently be configured via the same code that is used when loading from configuration files.
|
|
@ -156,7 +156,8 @@ def default_config(name, parse=False):
|
||||||
"mau_stats_only": False,
|
"mau_stats_only": False,
|
||||||
"mau_limits_reserved_threepids": [],
|
"mau_limits_reserved_threepids": [],
|
||||||
"admin_contact": None,
|
"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_registration": {"per_second": 10000, "burst_count": 10000},
|
||||||
"rc_login": {
|
"rc_login": {
|
||||||
"address": {"per_second": 10000, "burst_count": 10000},
|
"address": {"per_second": 10000, "burst_count": 10000},
|
||||||
|
|
Loading…
Reference in a new issue