From 55bd3ab51dcc9a133afba7fd5c481de96c73121f Mon Sep 17 00:00:00 2001 From: soyouzpanda Date: Fri, 8 Dec 2023 16:56:21 +0100 Subject: [PATCH] =?UTF-8?q?Modification=20du=20d=C3=A9lai=20du=20websocket?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kfet/static/kfet/js/kfet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kfet/static/kfet/js/kfet.js b/kfet/static/kfet/js/kfet.js index 14c4bc40..42b8bc07 100644 --- a/kfet/static/kfet/js/kfet.js +++ b/kfet/static/kfet/js/kfet.js @@ -78,7 +78,7 @@ class KfetWebsocket { listen() { var that = this; - this.socket = new ReconnectingWebSocket(this.url); + this.socket = new ReconnectingWebSocket(this.url, [], { minReconnectionDelay: 100 }); this.socket.onmessage = function (e) { var data = $.extend({}, that.default_msg, JSON.parse(e.data));