Skip to content

Commit

Permalink
chore(raft): Log packets message less frequently. (#7913)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmai authored Jun 22, 2021
1 parent 09c9548 commit b057949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conn/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ func (n *Node) doSendMessage(to uint64, msgCh chan []byte) error {
slurp(batch) // Pick up more entries from msgCh, if present.
span.Annotatef(nil, "[to: %x] [Packets: %d] Sending data of length: %d.",
to, packets, len(batch.Payload.Data))
if packets%1000 == 0 {
if packets%10000 == 0 {
glog.V(2).Infof("[to: %x] [Packets: %d] Sending data of length: %d.",
to, packets, len(batch.Payload.Data))
}
Expand Down

0 comments on commit b057949

Please sign in to comment.