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

fix: limit session num

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