From f8c68363b4ad96a9dbc4a67c175d749a95a8f616 Mon Sep 17 00:00:00 2001 From: guowei42 <65711401+guowei42@users.noreply.github.com> Date: Wed, 13 Nov 2024 20:05:50 +0800 Subject: [PATCH] I WILL FIX THEM ALL --- server/chat-service/server.js | 2 ++ server/collaboration-service/server.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/server/chat-service/server.js b/server/chat-service/server.js index 13344bf378..7bd7ea6ed3 100644 --- a/server/chat-service/server.js +++ b/server/chat-service/server.js @@ -13,6 +13,8 @@ const io = new Server(server, { "Origin, X-Requested-With, Content-Type, Accept, Authorization, Cookie", credentials: true, }, + pingTimeout: 300000, + pingInterval: 100000 }); io.on("connection", (socket) => { diff --git a/server/collaboration-service/server.js b/server/collaboration-service/server.js index 20a3ef665f..de3d06daf0 100644 --- a/server/collaboration-service/server.js +++ b/server/collaboration-service/server.js @@ -13,6 +13,8 @@ const io = new Server(server, { "Origin, X-Requested-With, Content-Type, Accept, Authorization, Cookie", credentials: true, }, + pingTimeout: 300000, + pingInterval: 100000 }); io.on("connection", (socket) => {