Uploaded image for project: 'MariaDB Connector/node.js'
  1. MariaDB Connector/node.js
  2. CONJS-183

change default connection timeout value 1 second

Details

    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.

      Attachments

        Activity

          diego dupin Diego Dupin created issue -
          diego dupin Diego Dupin made changes -
          Field Original Value New Value
          issue.field.resolutiondate 2021-12-09 15:08:59.0 2021-12-09 15:08:59.345
          diego dupin Diego Dupin made changes -
          Component/s configuration [ 15621 ]
          Fix Version/s 3.0.0 [ 27111 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.