2026-05-14 14:21:28 +08:00
|
|
|
export const MONITOR_CITY_DETAIL_DEPTH = "panel" as const;
|
2026-05-15 16:22:42 +08:00
|
|
|
export const MONITOR_REFRESH_INTERVAL_MS = 300_000;
|
2026-05-14 14:21:28 +08:00
|
|
|
|
|
|
|
|
export type MonitorRefreshTrigger = "initial" | "interval";
|
|
|
|
|
|
|
|
|
|
export function getMonitorRefreshRequest(_trigger: MonitorRefreshTrigger) {
|
|
|
|
|
return {
|
|
|
|
|
depth: MONITOR_CITY_DETAIL_DEPTH,
|
|
|
|
|
force: true,
|
|
|
|
|
};
|
|
|
|
|
}
|