Skip to content

Introduce connectionLivenessCheckTimeout configuration #1162

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 11 commits into from
Dec 4, 2023

Conversation

bigmontz
Copy link
Contributor

@bigmontz bigmontz commented Nov 23, 2023

This configuration defines the number of milliseconds the connection might be idle before need to perform a liveness check on acquiring from the pool.

const driver = neo4j.driver(URL, AUTH, {
  // other configurations, then
  connectionLivenessCheckTimeout: 30000 // 30 seconds
})

Check the API docs for more information.

@bigmontz bigmontz marked this pull request as ready for review November 24, 2023 12:19
@bigmontz bigmontz force-pushed the 5.x-liveness-check-timeout branch from 576c784 to 745cb3c Compare November 27, 2023 16:57
@bigmontz bigmontz merged commit 33d88ca into neo4j:5.0 Dec 4, 2023
@bigmontz bigmontz deleted the 5.x-liveness-check-timeout branch December 4, 2023 12:55
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