Closed
Description
Version:
latest - 5.0.1
Platform:
python 3.9 (seems irrelevant)
Description
sync release method
async release method
The above two methods are invoked whenever a long lived connection in a ConnectionPool
are finished and to be recycled.
When a "reset" is called:
sync reset method
async reset method
There are issues that come about when in progress connections are released AFTER a different thread/coroutine runs a reset.
I think some basic try/except logic to wrap the release calls in case there are connection errors would be nice. It would also be useful to have any exception while releasing be the catalyst for disconnection.