fix: change conn pool

This commit is contained in:
yihaoDeng 2023-02-27 11:02:10 +08:00
parent d992714b4a
commit 51fdfd8513
1 changed files with 1 additions and 1 deletions

View File

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