fix: 优化后端数据
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user