summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/9871.misc1
-rw-r--r--tests/utils.py4
2 files changed, 5 insertions, 0 deletions
diff --git a/changelog.d/9871.misc b/changelog.d/9871.misc
new file mode 100644
index 0000000000..b19acfab62
--- /dev/null
+++ b/changelog.d/9871.misc
@@ -0,0 +1 @@
+Disable invite rate-limiting by default when running the unit tests.
\ No newline at end of file
diff --git a/tests/utils.py b/tests/utils.py
index 63d52b9140..6bd008dcfe 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -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,