Merge remote-tracking branch 'origin/3.0' into enh/opt-transport

This commit is contained in:
yihaoDeng 2024-10-12 13:44:19 +08:00
parent 5df93eab17
commit 4ad6addfb7
1 changed files with 4 additions and 2 deletions

View File

@ -488,8 +488,10 @@ int8_t cliMayRecycleConn(SCliConn* conn) {
tstrerror(code));
return 1;
} else {
tError("%s conn %p failed to remove conn from heap cache since %s", CONN_GET_INST_LABEL(conn), conn,
tstrerror(code));
if (code != 0) {
tDebug("%s conn %p failed to remove conn from heap cache since %s", CONN_GET_INST_LABEL(conn), conn,
tstrerror(code));
}
}
addConnToPool(pThrd->pool, conn);
return 1;