Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
None
Description
Our connections have a default life timeout of 30 minutes set here. There is a WithLifeTimeout ConnectionOption to override this, but it's only used in pool_test.go. This means that a valid connection will be closed by the connection pool maintenance routine 30 minutes after it's been created even if it's valid and could be used by a future operation. We should remove this functionality.