-
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
RUBY-3378 Document CSOT #2884
RUBY-3378 Document CSOT #2884
Conversation
lib/mongo/client.rb
Outdated
# @option options [ Integer ] :timeout_ms The operation timeout in milliseconds. | ||
# Must a non-negative integer. An explicit value of 0 means infinite. |
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.
# @option options [ Integer ] :timeout_ms The operation timeout in milliseconds. | |
# Must a non-negative integer. An explicit value of 0 means infinite. | |
# @option options [ Integer ] :timeout_ms The operation timeout in milliseconds. | |
# Must be a non-negative integer. An explicit value of 0 means infinite. |
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.
Can you change "Must a non-negative" to "Must be a non-negative" throughout this PR?
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.
Did this, good catch, thanks!
lib/mongo/client.rb
Outdated
# @option opts [ Integer | nil ] :timeout_ms Operation timeout in milliseconds. | ||
# Must a positive integer. The default value is unset which means infinite. | ||
# @option options [ Integer ] :timeout_ms The operation timeout in milliseconds. | ||
# Must a non-negative integer. An explicit value of 0 means infinite. |
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.
# Must a non-negative integer. An explicit value of 0 means infinite. | |
# Must be a non-negative integer. An explicit value of 0 means infinite. |
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.
Just one minor correction, otherwise LGTM! 👍
Co-authored-by: Jamis Buck <jamisbuck@gmail.com>
No description provided.