[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. |