From 43cde9bbef18de0fa7500115601909d326d60fff Mon Sep 17 00:00:00 2001 From: Timo <6156589+Shik3i@users.noreply.github.com> Date: Sat, 30 May 2026 00:03:56 +0200 Subject: [PATCH] Optimize network latency compensation cap to protect against system clock skew --- extension/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/content.js b/extension/content.js index 72103ee..1edfde7 100644 --- a/extension/content.js +++ b/extension/content.js @@ -388,7 +388,7 @@ const video = findVideo(); if (video && message.actionTimestamp) { const latency = (Date.now() - message.actionTimestamp) / 1000; - if (latency > 0.05 && latency < 5.0) { + if (latency > 0.05 && latency < 1.0) { _setSuppress('seek'); video.currentTime += latency; reportLog(`Force Sync: Compensated ${Math.round(latency * 1000)}ms network latency`, 'info');