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

@@ -231,6 +231,8 @@ const config = {
},
// ⏱️ 上游错误自动暂停配置
// 说明此处是全局默认值。Claude 官方 OAuth 账号可在后台做账号级 503/5xx 覆盖,
// 且可通过账号设置禁用 temp_unavailable账号级策略优先于全局默认值
upstreamError: {
serviceUnavailableTtlSeconds:
parseInt(process.env.UPSTREAM_ERROR_503_TTL_SECONDS) || 60, // 503错误暂停秒数