rpc: fix deadlock when tsched queue is full and session limit reached

This commit is contained in:
Minglei Jin 2021-03-05 14:44:54 +08:00
parent e7bb07d323
commit f76225443e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}