fix: limit session num
This commit is contained in:
parent
60e270a0d4
commit
92b361de88
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue