refactor transport
This commit is contained in:
parent
5e39dd9b36
commit
0afec9a5f4
|
@ -504,7 +504,7 @@ int8_t cliMayRecycleConn(SCliConn* conn) {
|
|||
return 1;
|
||||
} else if ((transQueueSize(&conn->reqsToSend) == 0) && (transQueueSize(&conn->reqsSentOut) == 0) &&
|
||||
(taosHashGetSize(conn->pQTable) != 0)) {
|
||||
tDebug("%s conn %p do balance directly", CONN_GET_INST_LABEL(conn), conn, conn);
|
||||
tDebug("%s conn %p do balance directly", CONN_GET_INST_LABEL(conn), conn);
|
||||
TAOS_UNUSED(transHeapBalance(conn->heap, conn));
|
||||
} else if ((transQueueSize(&conn->reqsToSend) == 0) &&
|
||||
((pInst->shareConnLimit >= 4) && ((transQueueSize(&conn->reqsSentOut) > 0) &&
|
||||
|
|
Loading…
Reference in New Issue