Skip to content

Commit

Permalink
bugfix: fix infinite loop of asyncCallback (#230)
Browse files Browse the repository at this point in the history
asyncCallback -> syncCallback
  • Loading branch information
PangXing authored Aug 24, 2022
1 parent 27ea336 commit 318f05e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/remoting/getty/getty_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 318f05e

Please sign in to comment.