Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9387

Increase default connection timeout for HikariCP

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 20.0.0, Meridian-2017.1.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - May 31st

      Description

      By default HikariCP waits up to 30 seconds when trying to acquire a connection before throwing a SQLException. This differs from the behavior we had in c3p0 where we would wait forever until a new connection was available.

      Since we don't handle this case in most of the code, we should configure HikariCP to wait forever by default.

        Attachments

          Activity

            People

            • Assignee:
              j-white Jesse White
              Reporter:
              j-white Jesse White
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: