Logging useful to troubleshoot slow pool cycling.

pull/362/head
Brett Wooldridge 10 years ago
parent ada15b63d6
commit 7ad373ab2f

@ -118,6 +118,7 @@ public final class HikariPool extends BaseHikariPool
protected boolean isConnectionAlive(final Connection connection)
{
try {
LOGGER.debug("Performing alive check for connection {}", connection);
final int timeoutSec = (int) TimeUnit.MILLISECONDS.toSeconds(validationTimeout);
if (isUseJdbc4Validation) {

@ -107,6 +107,7 @@ public final class HikariPool extends BaseHikariPool
protected boolean isConnectionAlive(final Connection connection)
{
try {
LOGGER.debug("Performing alive check for connection {}", connection);
int timeoutSec = (int) TimeUnit.MILLISECONDS.toSeconds(validationTimeout);
if (isUseJdbc4Validation) {

Loading…
Cancel
Save