neo4j / neo4j-javascript-driver

Neo4j Bolt driver for JavaScript
https://neo4j.com/docs/javascript-manual/current/
Apache License 2.0
853 stars 148 forks source link

Introduce `connectionLivenessCheckTimeout` configuration #1162

Closed bigmontz closed 10 months ago

bigmontz commented 10 months ago

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.