This commit is contained in:
2026-05-09 23:08:43 +02:00
parent 3224a56b4a
commit 068c375fb6
+2 -2
View File
@@ -86,10 +86,10 @@ function connectWs() {
function syncTime() { function syncTime() {
wsSend({ action: "get_time", client_time: performance.now() / 1000 }); wsSend({ action: "get_time", client_time: performance.now() / 1000 });
setInterval(syncTime, 10000);
} }
setInterval(syncTime, 500); setInterval(syncTime, 10000);
setTimeout(syncTime, 500);
} }
function wsSend(obj) { function wsSend(obj) {