提交 d598135f 编写于 作者: dengyihao's avatar dengyihao

fix: limit session num

上级 4a196e74
...@@ -676,7 +676,7 @@ static SCliConn* getConnFromPool2(SCliThrd* pThrd, char* key, SCliMsg** pMsg) { ...@@ -676,7 +676,7 @@ static SCliConn* getConnFromPool2(SCliThrd* pThrd, char* key, SCliMsg** pMsg) {
return NULL; return NULL;
} }
queue* h = QUEUE_HEAD(&plist->conns); queue* h = QUEUE_TAIL(&plist->conns);
plist->size -= 1; plist->size -= 1;
QUEUE_REMOVE(h); QUEUE_REMOVE(h);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册