From 6e16d64a9083d7f1c22cb87d4adbfc4e7827240d Mon Sep 17 00:00:00 2001 From: zefie Date: Sun, 22 Jun 2025 15:45:16 -0400 Subject: [PATCH] check every 10 seconds to only send one ping --- zefie_wtvp_minisrv/includes/classes/WTVIRC.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zefie_wtvp_minisrv/includes/classes/WTVIRC.js b/zefie_wtvp_minisrv/includes/classes/WTVIRC.js index 1dca165c..19142858 100644 --- a/zefie_wtvp_minisrv/includes/classes/WTVIRC.js +++ b/zefie_wtvp_minisrv/includes/classes/WTVIRC.js @@ -316,7 +316,7 @@ class WTVIRC { this.debugLog('info', `Sent PING to ${socket.remoteAddress} due to inactivity`); return; } - }, 5000); // check every 5 seconds + }, 10000); // check every 5 seconds this.clients.push(socket); this.clientpeak = Math.max(this.clientpeak, this.clients.length);