-
Suggestion
-
Resolution: Fixed
-
None
-
1
-
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.