fix: limit session num

This commit is contained in:
yihaoDeng 2023-02-25 22:22:56 +08:00
parent 60e270a0d4
commit 92b361de88
1 changed files with 1 additions and 1 deletions

View File

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