You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure pool connection is released in acquire when cancelled
ClosesMagicStack#547
When wait_for is cancelled, there is a chance that the waited
task has already been completed, leaving the connection
looking like it is in use. This fix ensures that the connection
is returned to the pool in this situation.
For context, see:
https://bugs.python.org/issue37658MagicStack#467
0 commit comments