Remove room and user invite ratelimits in default unit test config (#9871)

code_spécifique_watcha
Andrew Morgan 4 years ago committed by GitHub
parent 9d25a0ae65
commit ceaa76970f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      changelog.d/9871.misc
  2. 4
      tests/utils.py

@ -0,0 +1 @@
Disable invite rate-limiting by default when running the unit tests.

@ -153,6 +153,10 @@ def default_config(name, parse=False):
"local": {"per_second": 10000, "burst_count": 10000},
"remote": {"per_second": 10000, "burst_count": 10000},
},
"rc_invites": {
"per_room": {"per_second": 10000, "burst_count": 10000},
"per_user": {"per_second": 10000, "burst_count": 10000},
},
"rc_3pid_validation": {"per_second": 10000, "burst_count": 10000},
"saml2_enabled": False,
"public_baseurl": None,

Loading…
Cancel
Save