-
Notifications
You must be signed in to change notification settings - Fork 234
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
Various Subscription improvements #177
Conversation
5d2f9ed
to
f7b6b0d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this solution gives the user the most control and we're no longer limited to eth_subscribe
/// Indicates that the request is a non-standard subscription (i.e. not | ||
/// "eth_subscribe"). | ||
pub fn set_is_subscription(&mut self) { | ||
self.is_subscription = true; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this could use some helper functions to:
set sub state with bool arg
/// "eth_subscribe"). | ||
pub fn set_is_subscription(&mut self) { | ||
self.meta.set_is_subscription() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG to the ME
Motivation
Closes #170
Solution
PubSubFrontend
that allows setting the default subscription channel size limitPR Checklist