From 244016ebfb1b73738244dc8214d19bc54d634021 Mon Sep 17 00:00:00 2001 From: abel Date: Tue, 14 Aug 2018 10:31:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E6=89=80=E6=9C=89=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E7=BA=BF=E7=A8=8B=E9=80=80=E5=87=BA=E7=9A=84=E5=9C=B0=E6=96=B9?= =?UTF-8?q?=EF=BC=8C=E9=83=BD=E9=87=8D=E6=96=B0=E5=88=9B=E5=BB=BA=E6=96=B0?= =?UTF-8?q?=E7=9A=84=E7=94=9F=E4=BA=A7=E7=BA=BF=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/com/fr/third/alibaba/druid/pool/DruidDataSource.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fine-druid/src/com/fr/third/alibaba/druid/pool/DruidDataSource.java b/fine-druid/src/com/fr/third/alibaba/druid/pool/DruidDataSource.java index 1a7727687..4ce27fdc1 100644 --- a/fine-druid/src/com/fr/third/alibaba/druid/pool/DruidDataSource.java +++ b/fine-druid/src/com/fr/third/alibaba/druid/pool/DruidDataSource.java @@ -2125,6 +2125,7 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat } catch (InterruptedException e) { lastCreateError = e; lastErrorTimeMillis = System.currentTimeMillis(); + DruidDataSource.this.createThreadChange(); break; } finally { lock.unlock(); @@ -2171,6 +2172,7 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat } catch (Error e) { LOG.error("create connection error", e); setFailContinuous(true); + DruidDataSource.this.createThreadChange(); break; }