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

Reduce default third party invite rate limit to 216 invites per day #14487

Merged
merged 1 commit into from
Nov 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/14487.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Reduce default third party invite rate limit to 216 invites per day.
5 changes: 1 addition & 4 deletions synapse/config/ratelimiting.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,5 @@ def read_config(self, config: JsonDict, **kwargs: Any) -> None:

self.rc_third_party_invite = RatelimitSettings(
config.get("rc_third_party_invite", {}),
defaults={
"per_second": self.rc_message.per_second,
"burst_count": self.rc_message.burst_count,
},
defaults={"per_second": 0.0025, "burst_count": 5},
)