修复call没找到对应service,卡死不正常返回问题

This commit is contained in:
lifeiyi
2020-06-29 22:58:27 +08:00
parent 824a83c7ed
commit 500b3908e0

View File

@@ -362,6 +362,9 @@ func (slf *RpcHandler) callRpc(nodeId int,serviceMethod string,args interface{},
//跨node调用
pCall := pClient.Go(false,serviceMethod,args,reply)
if pCall.Err != nil {
return pCall.Err
}
pResult := pCall.Done()
return pResult.Err
}