fix(认证): OAuth 401 直接标记错误状态
- OAuth 401 清理缓存并设置错误状态 - 移除 oauth_401_cooldown_minutes 配置及示例 - 更新 401 相关单测 破坏性变更: OAuth 401 不再临时不可调度,需手动恢复
This commit is contained in:
@@ -76,9 +76,6 @@ JWT_EXPIRE_HOUR=24
|
||||
# Cooldown time (in minutes) when upstream returns 529 (overloaded)
|
||||
# 上游返回 529(过载)时的冷却时间(分钟)
|
||||
RATE_LIMIT_OVERLOAD_COOLDOWN_MINUTES=10
|
||||
# Cooldown time (in minutes) for OAuth 401 temporary unschedulable
|
||||
# OAuth 401 临时不可调度冷却时间(分钟)
|
||||
RATE_LIMIT_OAUTH_401_COOLDOWN_MINUTES=5
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Gateway Scheduling (Optional)
|
||||
|
||||
Reference in New Issue
Block a user