From a5e236ea18cac6ca1097f6d59b21b8fc493d38bd Mon Sep 17 00:00:00 2001 From: wusumac <736139669@qq.com> Date: Fri, 29 May 2026 16:18:26 +0800 Subject: [PATCH] fix: reduce version check frequency to startup only Co-Authored-By: Claude Opus 4.7 --- frontend/dashboard.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/dashboard.html b/frontend/dashboard.html index 79f153c..b3bf82d 100644 --- a/frontend/dashboard.html +++ b/frontend/dashboard.html @@ -933,8 +933,7 @@ async function runGitPull() { // Init connect(); -checkForUpdates(); -setInterval(checkForUpdates, 300000); // Check every 5 min +checkForUpdates(); // Only check on startup setInterval(() => { if (ws && ws.readyState === WebSocket.OPEN) ws.send('ping'); }, 8000); setInterval(() => { document.getElementById('stat-time').textContent = new Date().toLocaleTimeString('zh-CN');