Skip to content

Make socket connection timeout configurable #294

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 2 commits into from
Dec 19, 2016

Conversation

lutovich
Copy link
Contributor

Previously socket connect did not have a timeout and was bounded only by the timeout configured on the OS level. Such timeout could be rather long and result in repeated stalls trying to refresh routing table against a failed router.

@zhenlineo
Copy link
Contributor

lower the default timeout to 5s and add the default value into javadoc

Previously socket connect did not have a timeout and was bounded only by the
timeout configured on the OS level. Such timeout could be rather long and
result in repeated stalls trying to refresh routing table against a failed
router.
It was previously set to 30 seconds which seems too long.
@lutovich lutovich force-pushed the 1.1-config-socket-connect-timeout branch from 5fca890 to f1a6685 Compare December 16, 2016 11:04
@zhenlineo zhenlineo merged commit 889d377 into neo4j:1.1 Dec 19, 2016
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