feat: implement runway observations monitoring panel and Telegram alert utilities
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user