Skip to content

Commit c230965

Browse files
authored
bugfix: fix infinite loop of asyncCallback (apache#230)
asyncCallback -> syncCallback
1 parent 37b8e40 commit c230965

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/remoting/getty/getty_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func (client *GettyRemotingClient) SendSyncRequest(msg interface{}) (interface{}
8888
}
8989

9090
func (g *GettyRemotingClient) asyncCallback(reqMsg message.RpcMessage, respMsg *message.MessageFuture) (interface{}, error) {
91-
go g.asyncCallback(reqMsg, respMsg)
91+
go g.syncCallback(reqMsg, respMsg)
9292
return nil, nil
9393
}
9494

0 commit comments

Comments
 (0)