-
Notifications
You must be signed in to change notification settings - Fork 7
make some socket and buffer settings configurable. #7
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
Conversation
hack: use raw sockets, set config like gRPC make socket and buffer paramaters a bit more configurable
| #[derive(Debug, Clone)] | ||
| pub struct ClientRegistry<TConnector = TcpConnector> { | ||
| max_buffer_length: usize, | ||
| buffer_allocation_interval: usize, |
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.
You used "increment" in the Connection and SocketServer. I think that's the better word, and it should be consistent here and elsewhere.
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.
too many simultaneous conversations frazzled the brain. Yes, that's what I intended to use.
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.
no worries, I was pretty sure it was just a mistype anyway
|
@PDXKimani you missed cargo fmt; I'd do it myself but I'm afk... push the fmt fix and I'll merge |
@kvc0 fixed, thanks |
|
Thanks for the change! |
No description provided.