-
Notifications
You must be signed in to change notification settings - Fork 533
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
Add write timeout #2843
Add write timeout #2843
Conversation
Co-authored-by: Jamis Buck <jamisbuck@gmail.com>
Co-authored-by: Jamis Buck <jamisbuck@gmail.com>
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.
❤️ Very nice! Just one bit with some lines that I don't think are necessary any more, but other than that I think it's good to merge. 👍
lib/mongo/protocol/message.rb
Outdated
if timeout = options[:socket_timeout] | ||
read_options[:timeout] = timeout | ||
read_options = options.slice(:timeout, :socket_timeout) | ||
%i[timeout socket_timeout].each do |key| |
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.
I don't think these lines are still necessary...
No description provided.