From 54652bff12cdd20ab7eb943ec77131dddee7c1e6 Mon Sep 17 00:00:00 2001 From: hmo Date: Tue, 21 Jul 2026 02:14:06 +0800 Subject: [PATCH] =?UTF-8?q?fix(verify):=20functional=5Fhealth/mofin=5Fheal?= =?UTF-8?q?th=20=E6=96=B0=E9=B2=9C=E5=BA=A6=E9=98=88=E5=80=BC=201h?= =?UTF-8?q?=E2=86=9216h=EF=BC=88=E4=B8=A4=E8=80=85=E5=9D=87=E4=BA=A4?= =?UTF-8?q?=E6=98=93=E6=97=B6=E6=AE=B5=E8=BF=90=E8=A1=8C,=E5=A4=9C?= =?UTF-8?q?=E9=97=B4=E5=BF=85=E5=81=87=E8=AD=A6=E6=8A=A5=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/verify_deployment.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/verify_deployment.py b/scripts/verify_deployment.py index 7d277dd2..ee040aa5 100644 --- a/scripts/verify_deployment.py +++ b/scripts/verify_deployment.py @@ -58,10 +58,12 @@ for dead in ['Cron监护-高频', '全局cron健康监控-每10分']: print() print('=== 3. 输出物生成 ===') for name, path, max_h in [ - ('functional_health.json', '/home/hmo/MoFin/gateway/logs/functional_health.json', 1), + # L1 和 mofin_health 都是交易时段运行(9-16,20-22 工作日),过夜间隔约13h, + # 阈值 16h 消除夜间/凌晨部署时的假警报;真挂掉(交易日白天不更新)仍会抓到 + ('functional_health.json', '/home/hmo/MoFin/gateway/logs/functional_health.json', 16), ('hygiene_report.json', '/home/hmo/MoFin/gateway/logs/hygiene_report.json', 26), ('meta_watchdog.json', '/home/hmo/MoFin/gateway/logs/meta_watchdog.json', 2), - ('mofin_health.json', '/home/hmo/web-dashboard/static/mofin_health.json', 1), + ('mofin_health.json', '/home/hmo/web-dashboard/static/mofin_health.json', 16), ]: if not os.path.exists(path): check(name, False, '不存在')