fix(认证): 修复 OAuth token 缓存失效与 401 处理
新增 token 缓存失效接口并在刷新后清理 401 限流支持自定义规则与可配置冷却时间 补齐缓存失效与 401 处理测试 测试: make test
This commit is contained in:
@@ -429,6 +429,9 @@ rate_limit:
|
||||
# Cooldown time (in minutes) when upstream returns 529 (overloaded)
|
||||
# 上游返回 529(过载)时的冷却时间(分钟)
|
||||
overload_cooldown_minutes: 10
|
||||
# Cooldown time (in minutes) for OAuth 401 temporary unschedulable
|
||||
# OAuth 401 临时不可调度冷却时间(分钟)
|
||||
oauth_401_cooldown_minutes: 5
|
||||
|
||||
# =============================================================================
|
||||
# Pricing Data Source (Optional)
|
||||
|
||||
Reference in New Issue
Block a user