mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
优化RPC
This commit is contained in:
@@ -179,9 +179,10 @@ func (agent *RpcAgent) Run() {
|
||||
rErr := "Call Rpc "+req.RpcRequestData.GetServiceMethod()+" Param error "+err.Error()
|
||||
if req.requestHandle!=nil {
|
||||
req.requestHandle(nil, RpcError(rErr))
|
||||
}else{
|
||||
ReleaseRpcRequest(req)
|
||||
}
|
||||
log.SError(rErr)
|
||||
ReleaseRpcRequest(req)
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user