mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-01-30 15:19:32 +08:00
添加 - 新的说明
This commit is contained in:
parent
d258f65f36
commit
f0f7fbc5e6
@ -6,7 +6,7 @@ let onlyTokenManager = new baseManagerModel.ModelManager();
|
||||
|
||||
module.exports.addToken = (key, value) => {
|
||||
if (onlyTokenManager.len >= 20) {
|
||||
//TOken 请求最大并发数,超过则统一删除
|
||||
//TOken 请求最大等待队列长度,超过则统一删除
|
||||
onlyTokenManager.clear();
|
||||
}
|
||||
onlyTokenManager.add(key, value);
|
||||
|
Loading…
Reference in New Issue
Block a user