fix: 优化后端数据

This commit is contained in:
Daniel
2026-03-02 16:29:11 +08:00
parent 81628a136a
commit a9caf6e7c0
18 changed files with 295 additions and 15 deletions

View File

@@ -49,7 +49,7 @@ export function fetchAndSetSituation(): Promise<void> {
let disconnectWs: (() => void) | null = null
let pollInterval: ReturnType<typeof setInterval> | null = null
const POLL_INTERVAL_MS = 5000
const POLL_INTERVAL_MS = 3000
function pollSituation() {
fetchSituation()