4G是没有物理连接的socket,无数据断开时间降低为90秒

This commit is contained in:
ZZ 2021-08-31 18:56:38 +08:00
parent 8928b7cb3e
commit bf3ee19374

View File

@ -59,7 +59,7 @@ public class ChargingPileServer {
config.getServerMode().setBlocking(true);
config.setPort(port);
config.setBindAddr(host);
config.setTimeout(66 * 1000 * 5);
config.setTimeout(90 * 1000);
server.initService(config);
server.startServer();
log.info("pp svc started at {}:{} ....", host, port);