Update sleep time before refresh

This commit is contained in:
Pierre HUBERT 2020-03-31 10:40:04 +02:00
parent 7b20cd9666
commit 89519e2a62

View File

@ -57,7 +57,7 @@ class UserWebSocket {
if(!this.hasOwnProperty("ws")) if(!this.hasOwnProperty("ws"))
return; 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"); notify("Disconnected from the server, page will be reloaded in "+num_seconds+" seconds !", "danger");