From 89519e2a62abd75e0bb7b9d959d955c4c9893b36 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 31 Mar 2020 10:40:04 +0200 Subject: [PATCH] Update sleep time before refresh --- assets/js/common/ws.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/common/ws.js b/assets/js/common/ws.js index 4288cb81..8b338d1a 100644 --- a/assets/js/common/ws.js +++ b/assets/js/common/ws.js @@ -57,7 +57,7 @@ class UserWebSocket { if(!this.hasOwnProperty("ws")) return; - const num_seconds = ComunicWeb.__config.productionMode ? 5 : 0.5; + const num_seconds = ComunicWeb.__config.productionMode ? 5 : 0.8; notify("Disconnected from the server, page will be reloaded in "+num_seconds+" seconds !", "danger");