Modification du délai du websocket

This commit is contained in:
soyouzpanda 2023-12-08 16:56:21 +01:00
parent f640a25f59
commit 55bd3ab51d
Signed by: ecoppens
GPG key ID: 54882F92BB178D6A

View file

@ -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));