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

change default connection timeout value 1 second

    XMLWordPrintable

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

          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:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 3h
                3h

                Git Integration

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