-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rate limiting for message sending #897
Comments
👍 Something like irc, maybe? Lines per second. |
We might not have the time luxury to just rate-limit message sending anymore. Rate limiting needs to be core of every single server-side method, directly or indirectly invokable by client. Rate limiting criterion may also vary per API. This is another use-case for an interpreted policy system on top of our permissions and roles. For instance:
|
Started working on this: b97231b Any ideas on how to improve this? Maybe adding toggles on settings? @RocketChat/owners |
I agree with what somebody said in another issue. Too many settings will clutter everything and make it hard for any sysadmin to manage their instance. Do you think we should just stipulate our own limits? |
I don't think a lot of settings are that bad. |
Whatever the case is, we definitely need a new settings page. Current layout is not user-friendly. |
agreed! 2015-10-08 0:02 GMT-03:00 Marcelo Schmidt [email protected]:
.Diego Sampaio |
So we are year later. Was that sorted? |
@hostile we've enforced a limit. I can' remember what it is exactly, but its not configurable at the moment. @marceloschmidt can you recall? I think this is the only reason this ticket remains open? cc @RocketChat/core |
@marceloschmidt why was this part commented? Was it because of the import and slack bridge packages were calling the methods rather than the functions before? Can we uncomment this? |
Closed via 1c312af |
👍 @hostile so limit right now is: |
User is notified when reach this limit? |
Can we also make an option for remove any limits from bots? |
@Setitch if a user has the role of |
Is this applicable also for mobile users? I'm struggling with RocketChat/Rocket.Chat.Android#2008 and it seems that server is not rate limiting those. |
@lorek123 it is, unless the user is a bot or admin |
Right now you could send as many messages as you want as fast as you want, and the server just has to take it.
We need to rate limit. Maybe configurable incase people want to be able to have a bot spam really quickly
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: