issues
search
neo4j
/
neo4j-go-driver
Neo4j Bolt Driver for Go
Apache License 2.0
488
stars
68
forks
source link
Improve blocking borrow logic in pool
#484
Closed
robsdedude
closed
1 year ago
robsdedude
commented
1 year ago
After waiting for room in the pool, borrow also considers creating a new connection (if possible)
After waiting for room in the pool, borrow reads (but doesn't update) the routing table to get more up-to-date routing info
Connections are always fully returned to and then borrowed from the pool. This means the health check and other initializers are guaranteed to be run.