Files
tick-stock-panel/frontend
wshyandshy3130 e524ea4893 perf: 指标计算移出启动关键路径, 后台异步预热 (#51)
启动时 instruments/index/ETF 同步刷新(<0.1s), enriched 的 compute_indicators
(107万行, 低配Linux 50s+) 推 daemon 线程异步完成。应用秒级 ready, 前端不再
报 ECONNREFUSED。预热期间上层走空表降级, 完成后自动替换缓存。

- repository: _enriched_warming 标志 + warmup 线程 + 懒加载守卫
- main: refresh_cache(background=True) + app.state.indicators_ready
- data API: status 端点加 indicators_ready 字段
- 前端: Data 页指标计算中提示 + 加快轮询

Closes #47

Co-authored-by: shy3130 <shy3130@users.noreply.github.com>
2026-07-04 21:55:03 +08:00
..
2026-06-18 17:18:23 +08:00
2026-07-02 17:45:30 +08:00
2026-06-18 17:18:23 +08:00
2026-06-18 17:18:23 +08:00
2026-06-18 17:18:23 +08:00
2026-06-18 17:18:23 +08:00
2026-06-18 17:18:23 +08:00
2026-06-18 17:18:23 +08:00