From fad55cd4bc60d58c0606fcbc22a038de47e600c3 Mon Sep 17 00:00:00 2001 From: Maximus Date: Fri, 5 Aug 2022 15:19:31 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-76958=20Druid=E8=8E=B7=E5=8F=96=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E7=9A=84=E9=87=8D=E8=AF=95=E6=AC=A1=E6=95=B0=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=9C=89bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fr/third/alibaba/druid/pool/DruidDataSource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fine-druid/src/main/java/com/fr/third/alibaba/druid/pool/DruidDataSource.java b/fine-druid/src/main/java/com/fr/third/alibaba/druid/pool/DruidDataSource.java index e2c9028f1..a6b796507 100644 --- a/fine-druid/src/main/java/com/fr/third/alibaba/druid/pool/DruidDataSource.java +++ b/fine-druid/src/main/java/com/fr/third/alibaba/druid/pool/DruidDataSource.java @@ -1482,7 +1482,7 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat try { poolableConnection = getConnectionInternal(maxWaitMillis); } catch (GetConnectionTimeoutException ex) { - if (notFullTimeoutRetryCnt <= this.notFullTimeoutRetryCount && !isFull()) { + if (notFullTimeoutRetryCnt < this.notFullTimeoutRetryCount && !isFull()) { notFullTimeoutRetryCnt++; if (LOG.isWarnEnabled()) { LOG.warn("get connection timeout retry : " + notFullTimeoutRetryCnt);