From fe19fce19604c4623b675595b726aa3766ffebdf Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Mon, 19 Aug 2024 15:42:57 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B):?= =?UTF-8?q?=20=E4=BF=AE=E6=94=B9=E4=BC=9A=E8=AF=9D=E7=A9=BA=E9=97=B2?= =?UTF-8?q?=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../metersphere/functional/socket/ExportWebSocketHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/services/case-management/src/main/java/io/metersphere/functional/socket/ExportWebSocketHandler.java b/backend/services/case-management/src/main/java/io/metersphere/functional/socket/ExportWebSocketHandler.java index e8e271ca86..552e7aacc7 100644 --- a/backend/services/case-management/src/main/java/io/metersphere/functional/socket/ExportWebSocketHandler.java +++ b/backend/services/case-management/src/main/java/io/metersphere/functional/socket/ExportWebSocketHandler.java @@ -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); }