add debug log

This commit is contained in:
yihaoDeng 2024-08-06 09:27:47 +08:00 committed by wangjiaming0909
parent 8dd11f9a09
commit 41067c55b3
1 changed files with 1 additions and 0 deletions

View File

@ -662,6 +662,7 @@ static SCliConn* getConnFromPool(SCliThrd* pThrd, char* key, bool* exceed) {
if (QUEUE_IS_EMPTY(&plist->conns)) {
if (plist->list->numOfConn >= pTranInst->connLimitNum) {
*exceed = true;
return NULL;;
}
plist->list->numOfConn++;
return NULL;