修复BUG

This commit is contained in:
CN-JS-HuiBai
2026-04-04 19:15:40 +08:00
parent 3823eeede2
commit 2f131b09c7
3 changed files with 53 additions and 17 deletions

View File

@@ -659,8 +659,8 @@ checkAndFixDatabase().then(() => {
initialPreload();
});
// Record traffic every 5 minutes
setInterval(recordTrafficStats, 5 * 60 * 1000);
// Record traffic every 5 seconds (17,280 points/day)
setInterval(recordTrafficStats, 5 * 1000);
// Initial record after a short delay
setTimeout(recordTrafficStats, 10000);