Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
2.3.0, 2.2.3
-
None
-
Java 8
Description
Configuring the MariaDbDataSource using a URL, the connectTimeout parameter is no longer honoured. The inbuilt default appears to be using.
We configure the connectTimeout to be short, as we are using the JDBC library from within a monitoring application, that requires a non typical, short connectTimeout.
Full config URL is
MariaDbDataSource ds = new MariaDbDataSource("jdbc:mysql://" + dbServer + "/?connectTimeout=3000&socketTimeout=5000"); |
This appears to have been introduced around commit fde60c15d2aa6d283474ce0c31c24b88a2e78a55
relating to "Pool datasource implementation". CONJ-522