09052102:对这个资产展示使用线程池的方法去做,第五次优化代码
parent
b8c1e65edc
commit
dfa2e92b93
|
@ -107,9 +107,9 @@ public class MysqlPool implements BasePool<Connection>{
|
||||||
return mysqlConn;
|
return mysqlConn;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((System.currentTimeMillis() - startTime)>this.etlDataScore.getMaxWaitTime()){
|
// if ((System.currentTimeMillis() - startTime)>this.etlDataScore.getMaxWaitTime()){
|
||||||
throw new MysqlConnException("连接超时!");
|
// throw new MysqlConnException("连接超时!");
|
||||||
}
|
// }
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue