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, '不存在')