refactor(测试用例): 修改会话空闲超时时间

This commit is contained in:
WangXu10 2024-08-19 15:42:57 +08:00 committed by 刘瑞斌
parent dba9884850
commit fe19fce196
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class ExportWebSocketHandler {
RemoteEndpoint.Async async = session.getAsyncRemote();
if (async != null) {
async.sendText(JSON.toJSONString(new ExportMsgDTO(fileId, "", 0, true, MsgType.CONNECT.name())));
session.setMaxIdleTimeout(180000);
session.setMaxIdleTimeout(1200000);
}
LogUtils.info("客户端: [" + fileId + "] : 连接成功!" + ExportWebSocketHandler.ONLINE_EXPORT_EXCEL_SESSIONS.size(), fileId);
}