[debug] disable the log of sending ping message

Ping message is important to debug some timing issue in consensus, so we
just comment it out.

Signed-off-by: Leo Chen <leo@harmony.one>
pull/515/head
Leo Chen 6 years ago
parent 67acacece0
commit efb4b81ef1
  1. 4
      api/service/discovery/service.go

@ -149,8 +149,8 @@ func (s *Service) sentPingMessage(g p2p.GroupID, regMsgBuf, clientMsgBuf []byte)
}
if err != nil {
utils.GetLogInstance().Error("Failed to send ping message", "group", g)
} else {
utils.GetLogInstance().Info("[DISCOVERY]", "Sent Ping Message", g)
// } else {
// utils.GetLogInstance().Info("[DISCOVERY]", "Sent Ping Message", g)
}
}

Loading…
Cancel
Save