From fd78214a1bf5221461f44e5ad3e813fe46f97e0e Mon Sep 17 00:00:00 2001 From: Sebastian <96229720+basti4557@users.noreply.github.com> Date: Thu, 5 Oct 2023 13:07:07 +0200 Subject: [PATCH] Updated Websocket Config --- main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.js b/main.js index 046ff97..345d058 100644 --- a/main.js +++ b/main.js @@ -408,6 +408,9 @@ function connect(cb){ }, wsconfig: { keepalive: true, + keepaliveInterval: 10000, + dropConnectionOnKeepaliveTimeout: false, + keepaliveGracePeriod: 5000, tlsOptions: { rejectUnauthorized: false }