opt get conn rule
This commit is contained in:
parent
abb79a4402
commit
0087ba3f62
|
@ -511,6 +511,7 @@ int8_t cliMayRecycleConn(SCliConn* conn) {
|
||||||
if (code != 0) {
|
if (code != 0) {
|
||||||
tDebug("%s conn %p failed to remove conn from heap cache since %s", CONN_GET_INST_LABEL(conn), conn,
|
tDebug("%s conn %p failed to remove conn from heap cache since %s", CONN_GET_INST_LABEL(conn), conn,
|
||||||
tstrerror(code));
|
tstrerror(code));
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
addConnToPool(pThrd->pool, conn);
|
addConnToPool(pThrd->pool, conn);
|
||||||
|
|
Loading…
Reference in New Issue