closeConnection(poolEntry,"(connection is evicted or dead)");// Throw away the dead connection (passed max age or failed alive test)
closeConnection(poolEntry,poolEntry.isMarkedEvicted()?EVICTED_CONNECTION_MESSAGE:DEAD_CONNECTION_MESSAGE);// Throw away the dead connection (passed max age or failed alive test)
timeout=hardTimeout-elapsedMillis(startTime);
}
else{
@ -188,7 +189,6 @@ public final class HikariPool extends PoolBase implements HikariPoolMXBean, IBag
Thread.currentThread().interrupt();
thrownewSQLException(poolName+" - Interrupted during connection acquisition",e);