Closed StephenCathcart closed 7 months ago
This configuration defines the duration that the connection may be idle before needing to perform a liveness check on acquiring from the pool.
driver, err := neo4j.NewDriverWithContext("neo4j://localhost:7687", neo4j.BasicAuth("neo4j", "password", ""), func(config *neo4j.Config) { config.ConnectionLivenessCheckTimeout = 2 * time.Second })
Check the API docs for more information.
[go] Implement ADR 021: liveness check timeout
This configuration defines the duration that the connection may be idle before needing to perform a liveness check on acquiring from the pool.
Check the API docs for more information.