From 23ca1913abad639694fceac2e5a021d7950466c9 Mon Sep 17 00:00:00 2001 From: Swagnik Dutta Date: Thu, 19 Mar 2026 12:34:36 +0530 Subject: [PATCH] minor: updates ping timeout and interval --- src/config/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/index.ts b/src/config/index.ts index cfd0a4d..641003b 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -17,8 +17,8 @@ export const config: ServerConfig = { }, socketio: { - pingInterval: parseInt(process.env.SOCKETIO_PING_INTERVAL || "25000"), - pingTimeout: parseInt(process.env.SOCKETIO_PING_TIMEOUT || "20000"), + pingInterval: parseInt(process.env.SOCKETIO_PING_INTERVAL || "20000"), + pingTimeout: parseInt(process.env.SOCKETIO_PING_TIMEOUT || "10000"), maxHttpBufferSize: parseInt(process.env.SOCKETIO_MAX_BUFFER || "10485760"), // 10MB },