From ffa0740b50977704cba026869f99cdc72af8e16c Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Fri, 24 Feb 2017 22:13:50 +0200 Subject: [PATCH] Disable (temporarily) client ping timeouts --- src/client.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client.js b/src/client.js index 111e353d..47023ed5 100644 --- a/src/client.js +++ b/src/client.js @@ -261,6 +261,7 @@ Client.prototype.connect = function(args) { auto_reconnect: true, auto_reconnect_wait: 10000 + Math.floor(Math.random() * 1000), // If multiple users are connected to the same network, randomize their reconnections a little auto_reconnect_max_retries: 360, // At least one hour (plus timeouts) worth of reconnections + ping_interval: 0, // Disable client ping timeouts due to buggy implementation webirc: webirc, });