hotfix for auto reconnect

This commit is contained in:
NoobishSVK
2024-02-17 18:20:01 +01:00
parent 7d9abfd740
commit 3dd0977ac1
-3
View File
@@ -189,9 +189,6 @@ client.on('close', () => {
});
client.on('error', (err) => {
setTimeout(function () {
connectToXdrd();
}, 2000)
switch (true) {
case err.message.includes("ECONNRESET"):
logError("Connection to xdrd lost. Reconnecting...");