Browse Source

bugfix: fix infinite loop of asyncCallback (#230)

asyncCallback -> syncCallback
tags/1.0.2-RC1
PangXing GitHub 3 years ago
parent
commit
318f05e613
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pkg/remoting/getty/getty_client.go

+ 1
- 1
pkg/remoting/getty/getty_client.go View File

@@ -88,7 +88,7 @@ func (client *GettyRemotingClient) SendSyncRequest(msg interface{}) (interface{}
}

func (g *GettyRemotingClient) asyncCallback(reqMsg message.RpcMessage, respMsg *message.MessageFuture) (interface{}, error) {
go g.asyncCallback(reqMsg, respMsg)
go g.syncCallback(reqMsg, respMsg)
return nil, nil
}



Loading…
Cancel
Save