Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prune dead thread from connection pool caches on reap
Otherwise they could linger around and leak memory if a user checkout connections from short lived fibers or threads. The undocumented `connection_cache_key` hook point is eliminated because it was essentially add to allow the connection pool to be fiber based rather than thread based, which is now supported out of the box.
- Loading branch information
Showing
2 changed files
with
23 additions
and
16 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