fix: reject REDIS_CACHE_TTL<=0 (kill implicit never-expire)

This commit is contained in:
2026-07-16 05:25:36 -04:00
parent 564c92a043
commit 7cc6aa5b23
5 changed files with 46 additions and 6 deletions
+1
View File
@@ -46,6 +46,7 @@ LLM_CIRCUIT_BREAKER_COOLDOWN=60
LLM_TTFT_TIMEOUT=30
LLM_INTER_TOKEN_TIMEOUT=15
LLM_RETRY_MAX_DELAY=30.0
# 正整数秒,禁止 0(0 会被拒绝启动);训练场景建议 >= 单次训练时长
REDIS_CACHE_TTL=86400
# 建树批量并行:全局 VLM/LLM 在途调用上限(Spec-2 工程配置)