docs: clarify temp-unavailable TTL defaults and account overrides

This commit is contained in:
X-Zero-L
2026-03-02 22:23:58 +08:00
parent 87cbd1897d
commit cdaf55bb14
4 changed files with 57 additions and 1 deletions

View File

@@ -156,6 +156,10 @@ ENABLE_CORS=true
TRUST_PROXY=true
# ⏱️ 上游错误自动暂停配置(秒)
# 说明:
# 1) 这是全局默认值
# 2) Claude 官方 OAuth 账号可在后台单独覆盖 503/5xx 冷却(留空=跟随全局0=关闭该类型)
# 3) 若账号勾选“禁用临时冷却”,则不会因 503/5xx 进入 temp_unavailable
# UPSTREAM_ERROR_503_TTL_SECONDS=60 # 503错误暂停时间默认60秒
# UPSTREAM_ERROR_5XX_TTL_SECONDS=300 # 500/502等5xx错误暂停时间默认5分钟
# UPSTREAM_ERROR_OVERLOAD_TTL_SECONDS=600 # 529过载暂停时间默认10分钟