diff --git a/static/js/ws.js b/static/js/ws.js index 3f06be06d..f0dbdf182 100644 --- a/static/js/ws.js +++ b/static/js/ws.js @@ -96,7 +96,7 @@ conn.onmessage = e => { // TODO: Clean code, use async var xmlHttp = new XMLHttpRequest(); xmlHttp.open( "GET", "http://"+addr+":9000/echo?_=" + beforeTime, true ); // false for synchronous request, add date to not calling cache - xmlHttp.timeout = 1000 + xmlHttp.timeout = 2000 xmlHttp.ontimeout = () => { cntResp++; afterTime = Date.now();