fix(hub): prevent monitor board stuck on slow aggregate polling

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-03 21:47:11 +08:00
parent b5f66a0db2
commit 6a76993ca8
5 changed files with 96 additions and 16 deletions
+2 -1
View File
@@ -56,9 +56,10 @@ HUB_TRUST_LAN=true
# 四实例网页登录(直链反代/IP:端口 访问时输入;中控点「打开实例」免输)
# 各 crypto_monitor_*/.env 统一:APP_USERNAME=... APP_PASSWORD=...
# 监控区 /api/monitor/board 聚合超时(秒,默认 agent 8 / flask 10
# 监控区 /api/monitor/board 聚合超时(秒,默认 agent 8 / flask 10 / board 45
# HUB_AGENT_TIMEOUT=8
# HUB_FLASK_TIMEOUT=10
# HUB_BOARD_TIMEOUT=45
# 为 false 时不拉各实例 /api/price_snapshot(关键位门控简化为「-」,首屏明显更快)
# HUB_BOARD_KEY_PRICES=true