zulip / zulip-terminal

Official Zulip terminal client.
Apache License 2.0
660 stars 250 forks source link

Limit rate of actions associated with keys that 'toggle' and send to server #428

Open neiljp opened 5 years ago

neiljp commented 5 years ago

Some keys, such as + and * (or ctrl s) send a message on pressing, and are currently only limited by the rate the keys can be pressed. This likely causes the server to ratelimit ZT, so we should track how frequently this is sent and probably artificially limit the rate that messages can be sent to the server.

Work on this might be related to #427 and general work on improving the resilience in case the server stops responding for any reason (network issues, server issues, ratelimiting).

neiljp commented 4 years ago

For the record, this should include repeatedly scrolling beyond the end of known messages, which also hits ratelimits.

zulipbot commented 4 years ago

Hello @kaustubh-nair, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over 14 days.

You can reclaim this issue or claim any other issue by commenting @zulipbot claim on that issue.

Thanks for your contributions, and hope to see you again soon!