add rpc sync read time

This commit is contained in:
yihaoDeng 2023-10-19 11:45:59 +08:00
parent b4b742b3fb
commit afac844656
1 changed files with 2 additions and 0 deletions

View File

@ -2427,6 +2427,8 @@ int cliAppCb(SCliConn* pConn, STransMsg* pResp, SCliMsg* pMsg) {
memcpy(pSyncMsg->pRsp, (char*)pResp, sizeof(*pResp));
tsem_post(pSyncMsg->pSem);
taosReleaseRef(transGetSyncMsgMgt(), pCtx->syncMsgRef);
} else {
rpcFreeCont(pResp->pCont);
}
}
} else {