diff --git a/source/libs/transport/src/transCli.c b/source/libs/transport/src/transCli.c index b156d9b5dddb42af0c28dd3b799bad684dcaef42..be34cb6c8b1cb103643c1440937251fd976fd434 100644 --- a/source/libs/transport/src/transCli.c +++ b/source/libs/transport/src/transCli.c @@ -736,7 +736,7 @@ static void addConnToPool(void* pool, SCliConn* conn) { QUEUE_PUSH(&conn->list->conns, &conn->q); conn->list->size += 1; - if (conn->list->size >= 250) { + if (conn->list->size >= 20) { STaskArg* arg = taosMemoryCalloc(1, sizeof(STaskArg)); arg->param1 = conn; arg->param2 = thrd;