Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit ceaa769

Browse files
Remove room and user invite ratelimits in default unit test config (#9871)
1 parent 9d25a0a commit ceaa769

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

changelog.d/9871.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Disable invite rate-limiting by default when running the unit tests.

tests/utils.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ def default_config(name, parse=False):
153153
"local": {"per_second": 10000, "burst_count": 10000},
154154
"remote": {"per_second": 10000, "burst_count": 10000},
155155
},
156+
"rc_invites": {
157+
"per_room": {"per_second": 10000, "burst_count": 10000},
158+
"per_user": {"per_second": 10000, "burst_count": 10000},
159+
},
156160
"rc_3pid_validation": {"per_second": 10000, "burst_count": 10000},
157161
"saml2_enabled": False,
158162
"public_baseurl": None,

0 commit comments

Comments
 (0)