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

Add ability to rate limit messages per room #16021

Open
x48115 opened this issue Jul 28, 2023 · 1 comment
Open

Add ability to rate limit messages per room #16021

x48115 opened this issue Jul 28, 2023 · 1 comment
Labels
A-Rate-Limit O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.

Comments

@x48115
Copy link

x48115 commented Jul 28, 2023

Description:

I am building an RFQ (request for quotes) system with Matrix/Synapse.

I'd like to have the ability to set per room rate limits.

  • "Request for quotes" should be rate limited (because requesting a quote causes quote responders to do work)
  • "Response to quote" should not be rate limited (because a quote responder must be able to respond to many simultaneous quotes)

What is the best way to accomplish this with Matrix today?

I see matrix supports rc_invites per_room, but not rc_message per_room

@x48115
Copy link
Author

x48115 commented Jul 28, 2023

For reference here is implementation for per room rate limit joins:
#12710

@MatMaul MatMaul added S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. O-Uncommon Most users are unlikely to come across this or unexpected workflow A-Rate-Limit labels Jul 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Rate-Limit O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.
Projects
None yet
Development

No branches or pull requests

2 participants