From dfa2e92b93474a316f690078857bb054c205236f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E8=B0=83?= <3084898776@qq.com> Date: Thu, 5 Sep 2024 21:02:36 +0800 Subject: [PATCH] =?UTF-8?q?09052102:=E5=AF=B9=E8=BF=99=E4=B8=AA=E8=B5=84?= =?UTF-8?q?=E4=BA=A7=E5=B1=95=E7=A4=BA=E4=BD=BF=E7=94=A8=E7=BA=BF=E7=A8=8B?= =?UTF-8?q?=E6=B1=A0=E7=9A=84=E6=96=B9=E6=B3=95=E5=8E=BB=E5=81=9A,?= =?UTF-8?q?=E7=AC=AC=E4=BA=94=E6=AC=A1=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/muyu/source/pool/MysqlPool.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/muyu-source-common/src/main/java/com/muyu/source/pool/MysqlPool.java b/muyu-source-common/src/main/java/com/muyu/source/pool/MysqlPool.java index d360689..da5b5df 100644 --- a/muyu-source-common/src/main/java/com/muyu/source/pool/MysqlPool.java +++ b/muyu-source-common/src/main/java/com/muyu/source/pool/MysqlPool.java @@ -107,9 +107,9 @@ public class MysqlPool implements BasePool{ return mysqlConn; } - if ((System.currentTimeMillis() - startTime)>this.etlDataScore.getMaxWaitTime()){ - throw new MysqlConnException("连接超时!"); - } +// if ((System.currentTimeMillis() - startTime)>this.etlDataScore.getMaxWaitTime()){ +// throw new MysqlConnException("连接超时!"); +// } return null; }