09052102:对这个资产展示使用线程池的方法去做,第五次优化代码

master
冷调 2024-09-05 21:02:36 +08:00
parent b8c1e65edc
commit dfa2e92b93
1 changed files with 3 additions and 3 deletions

View File

@ -107,9 +107,9 @@ public class MysqlPool implements BasePool<Connection>{
return mysqlConn;
}
if ((System.currentTimeMillis() - startTime)>this.etlDataScore.getMaxWaitTime()){
throw new MysqlConnException("连接超时!");
}
// if ((System.currentTimeMillis() - startTime)>this.etlDataScore.getMaxWaitTime()){
// throw new MysqlConnException("连接超时!");
// }
return null;
}