add rpc sync read time
This commit is contained in:
parent
b4b742b3fb
commit
afac844656
|
@ -2427,6 +2427,8 @@ int cliAppCb(SCliConn* pConn, STransMsg* pResp, SCliMsg* pMsg) {
|
||||||
memcpy(pSyncMsg->pRsp, (char*)pResp, sizeof(*pResp));
|
memcpy(pSyncMsg->pRsp, (char*)pResp, sizeof(*pResp));
|
||||||
tsem_post(pSyncMsg->pSem);
|
tsem_post(pSyncMsg->pSem);
|
||||||
taosReleaseRef(transGetSyncMsgMgt(), pCtx->syncMsgRef);
|
taosReleaseRef(transGetSyncMsgMgt(), pCtx->syncMsgRef);
|
||||||
|
} else {
|
||||||
|
rpcFreeCont(pResp->pCont);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue