-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve blocking borrow logic in pool
* 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. Signed-off-by: Florent Biville <florent.biville@neo4j.com>
- Loading branch information
1 parent
4d3f387
commit cb75c31
Showing
15 changed files
with
395 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.