mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
修复call没找到对应service,卡死不正常返回问题
This commit is contained in:
@@ -362,6 +362,9 @@ func (slf *RpcHandler) callRpc(nodeId int,serviceMethod string,args interface{},
|
|||||||
|
|
||||||
//跨node调用
|
//跨node调用
|
||||||
pCall := pClient.Go(false,serviceMethod,args,reply)
|
pCall := pClient.Go(false,serviceMethod,args,reply)
|
||||||
|
if pCall.Err != nil {
|
||||||
|
return pCall.Err
|
||||||
|
}
|
||||||
pResult := pCall.Done()
|
pResult := pCall.Done()
|
||||||
return pResult.Err
|
return pResult.Err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user