Skip to content

Commit

Permalink
레이턴시 측정 주기 좀 길게 해도 될듯
Browse files Browse the repository at this point in the history
  • Loading branch information
if1live committed Dec 30, 2023
1 parent 8c7df8f commit 16402b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion static/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,7 @@ socket.on("message", () => {
const latency = new Date() - last;
$("latency").innerHTML = `${latency}ms`;
if (time) time.append(+new Date(), latency);
setTimeout(send, 100);

// setTimeout(send, 100);
setTimeout(send, 1000);
});

0 comments on commit 16402b5

Please sign in to comment.