mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 09:20:22 +08:00
feat(pool): 账号停用检测、OAuth refresh 失效标记与号池管理性能优化
- 新增 account_deactivated 关键词检测,覆盖 error_handler / health_policy / account_state / 前端 - 401 健康策略分级冷却:账号永久停用 1h,临时认证失败 60s - OAuth refresh token 失败时标记 oauth_invalid(不停用 key),成功时清除非账号级标记 - 号池管理 API 使用 load_only + SQL 聚合替代全量拉取,减少查询开销 - Redis 冷却统计改用 batch_count_provider_cooldowns (SCAN) 替代逐 key 检查 - 前端时间线移除 executableTimeline 过滤层,Provider 选择改为非阻塞加载
This commit is contained in:
@@ -4,11 +4,15 @@ const ACCOUNT_BLOCK_REASON_KEYWORDS = [
|
||||
'account blocked',
|
||||
'account has been disabled',
|
||||
'account disabled',
|
||||
'account has been deactivated',
|
||||
'account_deactivated',
|
||||
'account deactivated',
|
||||
'organization has been disabled',
|
||||
'organization_disabled',
|
||||
'validation_required',
|
||||
'verify your account',
|
||||
'suspended',
|
||||
'deactivated',
|
||||
// Kiro quota refresher 写入的确切文本
|
||||
'账户已封禁',
|
||||
// Antigravity quota refresher 写入的确切文本
|
||||
|
||||
Reference in New Issue
Block a user