Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-22453

Add Hibernate Hikari connectionTimeout and leakDetectionThreshold properties to bamboo.cfg.xml by default

    XMLWordPrintable

Details

    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Extend bamboo.cfg.xml to have the following properties set by default:

          <property name="hibernate.hikari.connectionTimeout">30000</property>
          <property name="hibernate.hikari.leakDetectionThreshold">0</property>
      

      The values above are the defaults. For the Leak Detection Threshold, 0 means it is disabled.

      If bamboo.cfg.xml already contains those properties, no changes should be applied.

      Detailed description:

      The properties are as follows:

      1. hibernate.hikari.connectionTimeout: This property will allow setting a custom timeout for the database connections. By setting this property, a customer can define the maximum number of milliseconds that Bamboo will wait for a connection from the pool. If this time is exceeded without a connection becoming available. The default value of 30000 would represent a 30-second timeout.

      2. hibernate.hikari.leakDetectionThreshold: This property will allow customers to set a threshold for leak detection. If a connection is not returned to the pool before the configured threshold time, a log message will be issued indicating a potential connection leak. The default value of 0 disables leak detection.

      Attachments

        Issue Links

          Activity

            People

              73868399605e Eduardo Alvarenga
              73868399605e Eduardo Alvarenga
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: