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

Create configurable ratelimiter for 3pid invites #11

Merged
merged 9 commits into from
Nov 12, 2019

Conversation

anoadragon453
Copy link
Member

@anoadragon453 anoadragon453 commented Nov 6, 2019

Create a configurable rate-limiter for 3pid invites. 3pid invites already had a rate limiter, but it was locked to the per-user message rate limit. This changes it to that they are rate-limited based on a global option in homeserver.yaml.

This prevents per-user ratelimit overrides from affecting 3pid invites, but I don't think that would be a surprise to new users. I would find it odd if anyone was already relying on that behaviour, but if they are the changelog should make this change clear regardless.

Sytest PR matrix-org/sytest#740

@anoadragon453 anoadragon453 self-assigned this Nov 6, 2019
@anoadragon453 anoadragon453 requested a review from a team November 6, 2019 17:42
@anoadragon453 anoadragon453 deleted the anoa/ratelimit_settings_for_3pid_invites branch November 7, 2019 13:44
@anoadragon453 anoadragon453 restored the anoa/ratelimit_settings_for_3pid_invites branch November 7, 2019 13:46
@anoadragon453 anoadragon453 reopened this Nov 7, 2019
@anoadragon453 anoadragon453 merged commit d6b7606 into dinsic Nov 12, 2019
@anoadragon453 anoadragon453 deleted the anoa/ratelimit_settings_for_3pid_invites branch November 12, 2019 11:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants