fix deadlock
This commit is contained in:
parent
646b5e53a7
commit
4e87a28e8d
|
@ -1240,7 +1240,7 @@ static void rpcProcessRetryTimer(void *param, void *tmrId) {
|
|||
tTrace("%s, failed to send msg:%s to %s:%hu", pConn->info, taosMsg[pConn->outType], pConn->peerFqdn, pConn->peerPort);
|
||||
if (pConn->pContext) {
|
||||
pConn->pContext->code = TSDB_CODE_RPC_NETWORK_UNAVAIL;
|
||||
rpcProcessConnError(pConn->pContext, NULL);
|
||||
taosTmrStart(rpcProcessConnError, 0, pContext, pRpc->tmrCtrl);
|
||||
rpcReleaseConn(pConn);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue