Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.5.9, 2.0.2
-
None
Description
The implementation for setLoginTimeout(int seconds) in the MariaDbDatasource sets the connectTimeout option in seconds
The connectTimeout option is then used in the AbstractConnectionProtocol when calling socket.connect(sockAddr, options.connectTimeout). However this is expecting a millisecond value.
This is causing connection timeouts to be much lower than expected.