rpc: fix deadlock when tsched queue is full and session limit reached
This commit is contained in:
parent
e7bb07d323
commit
f76225443e
|
@ -1281,7 +1281,7 @@ static void rpcSendReqToServer(SRpcInfo *pRpc, SRpcReqContext *pContext) {
|
|||
SRpcConn *pConn = rpcSetupConnToServer(pContext);
|
||||
if (pConn == NULL) {
|
||||
pContext->code = terrno;
|
||||
taosTmrStart(rpcProcessConnError, 0, pContext, pRpc->tmrCtrl);
|
||||
taosTmrStart(rpcProcessConnError, 1, pContext, pRpc->tmrCtrl);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue