Reduce default third party invite rate limit to 216 invites per day (#14487)
The previous default was the same as the `rc_message` rate limit, which defaults to 17,280 per day. Signed-off-by: Sean Quah <seanq@matrix.org>
This commit is contained in:
parent
ae22e6e94f
commit
78e23eea05
|
@ -0,0 +1 @@
|
||||||
|
Reduce default third party invite rate limit to 216 invites per day.
|
|
@ -150,8 +150,5 @@ class RatelimitConfig(Config):
|
||||||
|
|
||||||
self.rc_third_party_invite = RatelimitSettings(
|
self.rc_third_party_invite = RatelimitSettings(
|
||||||
config.get("rc_third_party_invite", {}),
|
config.get("rc_third_party_invite", {}),
|
||||||
defaults={
|
defaults={"per_second": 0.0025, "burst_count": 5},
|
||||||
"per_second": self.rc_message.per_second,
|
|
||||||
"burst_count": self.rc_message.burst_count,
|
|
||||||
},
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue