Skip to content

Improved comment of new connectionsPerHost default #87

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

Merged
merged 1 commit into from
Nov 26, 2012

Conversation

iandaniel
Copy link
Contributor

The existing comment on the new default for connectionsPerHost simply said that the value has been increased from 10 to 100. The new comment makes it explicit that this is a change from the value used by the old Mongo class to the value used by the new MongoClient class.

Without this, in the future once the MongoClient class is commonly used, the original comment may be confusing, prompting the reader to wonder what version of the MongoClient class the change was introduced in.

…ed the increase is from the value used by the superceded Mongo class.
jyemin added a commit that referenced this pull request Nov 26, 2012
JAVA-682: Improved comment of new connectionsPerHost default
@jyemin jyemin merged commit 5f218fc into mongodb:master Nov 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants