[PR #252] [MERGED] feat(pool): 添加账号池轮询上限配置默认全部,并优化服务端重载问题 #318

Closed
opened 2026-02-27 07:18:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/justlovemaki/AIClient-2-API/pull/252
Author: @leonaii
Created: 1/16/2026
Status: Merged
Merged: 1/16/2026
Merged by: @justlovemaki

Base: mainHead: main


📝 Commits (1)

  • 259ccf3 feat(pool): 添加账号池轮询上限配置默认全部,并优化服务端重载问题

📊 Changes

6 files changed (+41 additions, -2 deletions)

View changed files

📝 src/providers/provider-pool-manager.js (+17 -2)
📝 src/ui-modules/config-api.js (+1 -0)
📝 src/utils/credential-cache-manager.js (+6 -0)
📝 static/app/config-manager.js (+5 -0)
📝 static/app/i18n.js (+6 -0)
📝 static/components/section-config.html (+6 -0)

📄 Description

  1. 新增 POOL_SIZE_LIMIT 配置项,限制每个提供商类型参与轮询的最大健康凭证数量
  2. 优化 provider-pool-manager 选择逻辑,按使用次数升序取 Top N 候选池
  3. 修复 credential-cache-manager 配置重载时的实例锁检测问题
  4. 完善前端配置界面和中英文国际化支持

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/justlovemaki/AIClient-2-API/pull/252 **Author:** [@leonaii](https://github.com/leonaii) **Created:** 1/16/2026 **Status:** ✅ Merged **Merged:** 1/16/2026 **Merged by:** [@justlovemaki](https://github.com/justlovemaki) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`259ccf3`](https://github.com/justlovemaki/AIClient-2-API/commit/259ccf3dd66aa54a77cb078d005d894437f7f86e) feat(pool): 添加账号池轮询上限配置默认全部,并优化服务端重载问题 ### 📊 Changes **6 files changed** (+41 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/providers/provider-pool-manager.js` (+17 -2) 📝 `src/ui-modules/config-api.js` (+1 -0) 📝 `src/utils/credential-cache-manager.js` (+6 -0) 📝 `static/app/config-manager.js` (+5 -0) 📝 `static/app/i18n.js` (+6 -0) 📝 `static/components/section-config.html` (+6 -0) </details> ### 📄 Description 1. 新增 POOL_SIZE_LIMIT 配置项,限制每个提供商类型参与轮询的最大健康凭证数量 2. 优化 provider-pool-manager 选择逻辑,按使用次数升序取 Top N 候选池 3. 修复 credential-cache-manager 配置重载时的实例锁检测问题 4. 完善前端配置界面和中英文国际化支持 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 07:18:56 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AIClient-2-API-justlovemaki#318
No description provided.