From 6746650bb17461f649f685be3cd987159844e259 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Fri, 15 May 2026 17:58:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=91=E9=81=93=E8=A7=82=E6=B5=8B=E6=8E=A8?= =?UTF-8?q?=E9=80=81=E5=8F=8A=E5=89=8D=E7=AB=AF=E5=88=B7=E6=96=B0=E9=97=B4?= =?UTF-8?q?=E9=9A=94=E6=94=B9=E5=9B=9E60=E7=A7=92=EF=BC=8C=E5=8C=B9?= =?UTF-8?q?=E9=85=8DAMSC=E6=AF=8F=E5=88=86=E9=92=9F=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E9=A2=91=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scan-terminal/RunwayObservationsPanel.tsx | 2 +- src/utils/telegram_push.py | 38 +++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/frontend/components/dashboard/scan-terminal/RunwayObservationsPanel.tsx b/frontend/components/dashboard/scan-terminal/RunwayObservationsPanel.tsx index 9caa3f7b..4c60e9dd 100644 --- a/frontend/components/dashboard/scan-terminal/RunwayObservationsPanel.tsx +++ b/frontend/components/dashboard/scan-terminal/RunwayObservationsPanel.tsx @@ -165,7 +165,7 @@ export function RunwayObservationsPanel() { ensureCityDetail(city.key, true, "panel"), ), ); - }, 300_000); + }, 60_000); return () => { if (intervalRef.current) clearInterval(intervalRef.current); }; diff --git a/src/utils/telegram_push.py b/src/utils/telegram_push.py index 63595af5..d69da357 100644 --- a/src/utils/telegram_push.py +++ b/src/utils/telegram_push.py @@ -773,25 +773,25 @@ def _get_airport_daily_high(city_weather: Dict[str, Any]): # Per-city push interval — unified to 60s, obs_time dedup prevents spam _AIRPORT_PUSH_INTERVAL = { - "seoul": 300, - "busan": 300, - "tokyo": 300, - "ankara": 300, - "helsinki": 300, - "amsterdam": 300, - "istanbul": 300, - "paris": 300, - "hong kong": 300, - "lau fau shan": 300, - "taipei": 300, - "beijing": 300, - "shanghai": 300, - "guangzhou": 300, - "shenzhen": 300, - "qingdao": 300, - "chengdu": 300, - "chongqing": 300, - "wuhan": 300, + "seoul": 60, + "busan": 60, + "tokyo": 60, + "ankara": 60, + "helsinki": 60, + "amsterdam": 60, + "istanbul": 60, + "paris": 60, + "hong kong": 60, + "lau fau shan": 60, + "taipei": 60, + "beijing": 60, + "shanghai": 60, + "guangzhou": 60, + "shenzhen": 60, + "qingdao": 60, + "chengdu": 60, + "chongqing": 60, + "wuhan": 60, } # Per-city temperature window threshold (°C below DEB predicted high) # Continental airports: wider window (temp rises steadily over land)