Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-490

connectTimeout milli/second mix up

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.5.9, 2.0.2
    • 1.6.1, 2.0.2
    • Other
    • None

    Description

      The implementation for setLoginTimeout(int seconds) in the MariaDbDatasource sets the connectTimeout option in seconds
      The connectTimeout option is then used in the AbstractConnectionProtocol when calling socket.connect(sockAddr, options.connectTimeout). However this is expecting a millisecond value.
      This is causing connection timeouts to be much lower than expected.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            Craig Craig bailey
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.