mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-03-30 00:33:35 +00:00
docs: clarify temp-unavailable TTL defaults and account overrides
This commit is contained in:
@@ -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分钟)
|
||||
|
||||
Reference in New Issue
Block a user