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

Port #5576 to dinsic #5577

Merged
merged 3 commits into from
Jun 28, 2019
Merged

Port #5576 to dinsic #5577

merged 3 commits into from
Jun 28, 2019

Conversation

babolivier
Copy link
Contributor

Port of #5576 to the dinsic branch

This would cause emails being sent, but Synapse responding with a 429 when creating the event. The client would then retry, and with bad timing the same scenario would happen again. Some testing I did ended up sending me 10 emails for one single invite because of this.
If we do the opposite, an event can arrive after or while sending the email and the 3PID invite event will get ratelimited.
@babolivier babolivier force-pushed the babolivier/3pid-invite-ratelimit branch from 5c89ef4 to a7a8bbf Compare June 28, 2019 16:47
@babolivier babolivier merged commit 78b737f into dinsic Jun 28, 2019
@babolivier babolivier deleted the babolivier/3pid-invite-ratelimit branch September 27, 2019 09:44
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.

1 participant