Skip to content
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

use default driver mongo values for reconnec tries and interval #572

Merged
merged 2 commits into from
Dec 22, 2021

Conversation

AlvaroVega
Copy link
Member

@AlvaroVega AlvaroVega commented Dec 22, 2021

No CRN update since this PR reopens previous PR #565

Copy link
Member

@fgalan fgalan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fgalan fgalan merged commit 43f7262 into master Dec 22, 2021
@fgalan fgalan deleted the AlvaroVega-patch-1 branch December 22, 2021 09:39
@Gauravp-NEC
Copy link
Contributor

@AlvaroVega , Is there any minimum and maximum value for reconnecttries and reconnectInterval?

@AlvaroVega
Copy link
Member Author

According with https://mongodb.github.io/node-mongodb-native/3.3/reference/connecting/connection-settings/

reconnectTries | Server | integer | 30 | Server attempt to reconnect #times

reconnectInterval | Server | integer | 1000 | Server will wait # milliseconds between retries.

So min and max are expected to be the same than min and max of an integer

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.

3 participants