[CONJS-183] change default connection timeout value 1 second Created: 2021-12-09  Updated: 2021-12-09  Resolved: 2021-12-09

Status: Closed
Project: MariaDB Connector/node.js
Component/s: configuration
Affects Version/s: None
Fix Version/s: 2.5.6, 3.0.0

Type: Task Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

Connection are expected to be fast. Option `connectTimeout` default value of 10s is unnecessary big, and cause another issue when using pool : default pool value of `acquireTimeout` to 10s result when connection fails to create because of wrong configuration (authentication/ssl, ...), pool will just returns an ER_GET_CONNECTION_TIMEOUT error, not the current connection error, making hard to detect real issue.


Generated at Thu Feb 08 03:23:21 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.