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) => {