1、druid连接池增加 maxwait 配置,默认10s

This commit is contained in:
fangshunjian
2018-11-08 15:38:33 +08:00
parent 74c3c0b303
commit ba43f4203d
3 changed files with 10 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ public class FileUploadManagerThread implements Runnable{
dao = new CommonDao();
service = new UpgradeService(dao);
}
hostIp = service.getHostIpByMissionId(mid);
hostIp = Constants.FILE_DOWNLOAD_FROM_COMMUNICATE_WEB ? Constants.WEB_SOCKET_IP : service.getHostIpByMissionId(mid);
Common.addMissionIdWebIPMap(mid,hostIp);
}
}catch (NumberFormatException e) {