feat: BTC 时K 默认范围由 72 小时改为 48 小时

- BTC_LIMIT 默认 72→48(.env 未覆盖时即生效),文档同步
- BTC 文件缓存判定加入根数校验:改周期或根数后 TTL 内不再沿用旧范围
- CLAUDE.md 补充 cloudflared 快速隧道运维经验:隧道会被静默回收,
  重启用 --protocol http2 并剥掉代理环境变量

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-09-14 10:37:18 +08:00
parent b1a99a0e6b
commit b58e1decf0
6 changed files with 14 additions and 9 deletions

View File

@@ -40,7 +40,7 @@ USAGE_WARN=80
USAGE_OK=30
PACE_TOL=10
BTC_BAR=1H
BTC_LIMIT=72
BTC_LIMIT=48
BTC_TTL=300
# 服务端server.py三路上游的内存缓存有效期0=每次实拉):天气/BTC 复用 WEATHER_TTL/BTC_TTL橘喵实时用 MAO_TTL
MAO_TTL=60