-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix pool bug involving blocking commands whose context times out
When a blocking command is performed by the pool, it is removed from the pool during that time so that other commands don't try to share it (and therefore become blocked themselves). However if the context for the blocking command was canceled then we were returning the still-blocked conn to the pool, resulting in subsequent commands being blocked. Fixes #344
- Loading branch information
Brian Picciano
committed
Aug 25, 2023
1 parent
dca03e4
commit 0c69f31
Showing
2 changed files
with
45 additions
and
12 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