You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…739)
* feat: limit the number of subscriptions
Closing #729
* fix nit
* Update core/src/server/helpers.rs
* add integration tests + some fixes so it works
* cargo fmt
* fix doc links
* Unsubscribe calls should avoid subscription limits
Point to Tokio 1.16 (we use a method from it), and a little special treatment for unsubscribe methods
* No resource limiting for Unsubscribe calls
* Test that we can still unsubscribe after hitting a limit
* Fix a comment typo
Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com>
* Update core/src/server/rpc_module.rs
* Update core/src/server/rpc_module.rs
Co-authored-by: James Wilson <james@jsdw.me>
Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com>
It would be good to a way to limit the number of subscriptions per connection.
A suggested approach is to wrap close_notify in a new type to get the strong count as it is increased by one for each subscription.
The text was updated successfully, but these errors were encountered: