summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2021-04-23 13:37:48 +0100
committerGitHub <noreply@github.com>2021-04-23 13:37:48 +0100
commitceaa76970fa0092bbdc35055c6f32dc63dd59960 (patch)
tree936054919c7660bd3d983fe39c73744f8f07494a
parentSplit presence out of master (#9820) (diff)
downloadsynapse-ceaa76970fa0092bbdc35055c6f32dc63dd59960.tar.xz
Remove room and user invite ratelimits in default unit test config (#9871)
-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,