Removed some maturity wrinkles :)
1. isConnectionAlive() if connection is invalid/broken, avoid delay caused by calls (and probably more exception) on connection to be closed. 2. getConection() removed dead code. poolEntry is always null if connectionBag.borrow() throws InterruptedException. probably metricsTracker.recordBorrowTimeoutStats(startTime); and metricsTracker.recordConnectionTimeout() are same/ should be one call?pull/989/head
parent
26ee91b35c
commit
baf7520c39
Loading…
Reference in New Issue