优化服务发现

This commit is contained in:
boyce
2021-05-06 16:09:27 +08:00
parent 1007845e95
commit bbab004f65
5 changed files with 10 additions and 9 deletions

View File

@@ -112,7 +112,7 @@ func (agent *RpcAgent) Run() {
for {
data,err := agent.conn.ReadMsg()
if err != nil {
log.Error("read message: %v", err)
log.Error("read message: %v,remoteAddress:%s", err,agent.conn.RemoteAddr().String())
//will close tcpconn
break
}