mirror of
https://ghfast.top/https://github.com/aeroxw/tick-stock-panel.git
synced 2026-09-12 16:44:15 +08:00
- MinuteRefreshService.is_healthy(): 偏好开 + 线程活 + 最近一轮距今 ≤ max(2×间隔, 30s)。last_round_at 只在取数+落盘成功后更新, 连续失败 自动超时判不健康, 冷启动修复轮期间天然不健康 - /api/kline/minute-batch 加 prefer_local 标志: 服务健康时股票 incomplete 不再批量补拉, 本地有多少给多少 (服务下一轮落盘补全; 停牌票补拉也是空, 无损); ETF 不在全量分钟 universe 内维持补拉; 不健康回落现状兜底。 响应加 full_minute_local 标记 - 大自选 (数百上千只) 不再每 6s 轮询持续打批量分钟接口 - 4 个新用例: 健康跳过股票补拉/ETF 仍补, 不健康回落, 无标志不受影响, is_healthy 三条件边界