增加邻居master服务发现功能

This commit is contained in:
boyce
2021-05-07 15:22:54 +08:00
parent bbab004f65
commit 212798dc04
6 changed files with 211 additions and 171 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,remoteAddress:%s", err,agent.conn.RemoteAddr().String())
log.Error("remoteAddress:%s,read message: %v,",agent.conn.RemoteAddr().String(),err)
//will close tcpconn
break
}