From 0a22b24ed31ac1d5688397fd11e057d75e0934fd Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Fri, 17 Feb 2023 23:03:09 +0800 Subject: [PATCH] opt trans --- source/libs/transport/src/transCli.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/libs/transport/src/transCli.c b/source/libs/transport/src/transCli.c index f0635d376c..b4b1bf1f51 100644 --- a/source/libs/transport/src/transCli.c +++ b/source/libs/transport/src/transCli.c @@ -1502,6 +1502,7 @@ static void cliBatchDealReq(queue* wq, SCliThrd* pThrd) { pBatchList->connMax = pInst->connLimitNum; pBatchList->connCnt = 0; pBatchList->batchLenLimit = pInst->batchSize; + pBatchList->len += 1; pBatchList->ip = strdup(ip); pBatchList->dst = strdup(key);