[misc] additional log in ping message

Signed-off-by: Leo Chen <leo@harmony.one>
pull/618/head
Leo Chen 6 years ago
parent 478a25533e
commit aa1bd672c4
  1. 2
      node/node_handler.go

@ -429,7 +429,7 @@ func (node *Node) SendPongMessage() {
utils.GetLogInstance().Error("[PONG] failed to send pong message", "group", node.NodeConfig.GetShardGroupID()) utils.GetLogInstance().Error("[PONG] failed to send pong message", "group", node.NodeConfig.GetShardGroupID())
continue continue
} else { } else {
utils.GetLogInstance().Info("[PONG] sent pong message to", "group", node.NodeConfig.GetShardGroupID()) utils.GetLogInstance().Info("[PONG] sent pong message to", "group", node.NodeConfig.GetShardGroupID(), "# nodes", numPeersNow)
} }
sentMessage = true sentMessage = true
// stop sending ping message // stop sending ping message

Loading…
Cancel
Save