Disable (temporarily) client ping timeouts

This commit is contained in:
Pavel Djundik 2017-02-24 22:13:50 +02:00 committed by GitHub
parent 77721c0982
commit ffa0740b50

View File

@ -261,6 +261,7 @@ Client.prototype.connect = function(args) {
auto_reconnect: true, 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_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 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, webirc: webirc,
}); });