feat: implement runway observations monitoring panel and Telegram alert utilities

This commit is contained in:
2569718930@qq.com
2026-05-15 16:22:42 +08:00
parent f7fb2ec83b
commit a614cbd298
3 changed files with 21 additions and 21 deletions
@@ -1,5 +1,5 @@
export const MONITOR_CITY_DETAIL_DEPTH = "panel" as const;
export const MONITOR_REFRESH_INTERVAL_MS = 60_000;
export const MONITOR_REFRESH_INTERVAL_MS = 300_000;
export type MonitorRefreshTrigger = "initial" | "interval";
@@ -165,7 +165,7 @@ export function RunwayObservationsPanel() {
ensureCityDetail(city.key, true, "panel"),
),
);
}, 60_000);
}, 300_000);
return () => {
if (intervalRef.current) clearInterval(intervalRef.current);
};