添加 - 新的说明

This commit is contained in:
suwings 2018-04-21 14:26:22 +08:00
parent d258f65f36
commit f0f7fbc5e6

View File

@ -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);