mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 13:59:23 +00:00
Update sleep time before refresh
This commit is contained in:
parent
7b20cd9666
commit
89519e2a62
@ -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");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user