提交 a8f707b9 编写于 作者: dengyihao's avatar dengyihao

feature(rpc): add retry

上级 ba7bfc64
......@@ -899,7 +899,8 @@ int cliAppCb(SCliConn* pConn, STransMsg* pResp, SCliMsg* pMsg) {
cliHandleReq(pMsg, pThrd);
return -1;
}
cliDestroyConn(pConn, true);
// cliDestroy((uv_handle_t*)pConn->stream);
} else if (pCtx->retryCount < TRANS_RETRY_COUNT_LIMIT) {
if (pResp->contLen == 0) {
pEpSet->inUse = (pEpSet->inUse++) % pEpSet->numOfEps;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册