Closed Ladicek closed 5 months ago
The recycle timeout was probably meant to be a timeout after which an unused connection is closed and evicted. However, the existing implementation doesn't do that -- it computes expiration time when the connection is created, and then never updates it. This PR just reflects reality.
It shouldn't be hard to fix that -- whenever the connection is returned back to the connection pool, the expiration time would have to be recomputed. That would be enough. I can do that in a 2nd commit in this PR, or separately. Any thoughts?
:heart_decoration:
Fixes #288