0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-13 16:18:56 +02:00

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

This commit is contained in:
Andrew Morgan 2021-04-23 13:37:48 +01:00 committed by GitHub
parent 9d25a0ae65
commit ceaa76970f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

1
changelog.d/9871.misc Normal file
View file

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

View file

@ -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,