From 6299c602c244e92e31a229f9443ffbd200e2b622 Mon Sep 17 00:00:00 2001 From: BuckarooBanzay Date: Fri, 6 Mar 2020 07:15:44 +0100 Subject: [PATCH] tune auto-reconnect settings on irc connection --- src/handler/irc.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/handler/irc.js b/src/handler/irc.js index da59413..ca0e652 100644 --- a/src/handler/irc.js +++ b/src/handler/irc.js @@ -7,7 +7,9 @@ module.exports = function(remote, events){ port: remote.port, nick: remote.username, password: remote.password, - auto_reconnect: true + auto_reconnect: true, + auto_reconnect_wait: 10000, + auto_reconnect_max_retries: 9999 }); if (remote.debug) {