Skip to content

Commit 3359131

Browse files
committed
add peer ID
1 parent 46f4e84 commit 3359131

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/consensus/reactor.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -851,10 +851,10 @@ func (r *Reactor) gossipVotesRoutine(ctx context.Context, ps *PeerState, voteCh
851851
}
852852
}
853853

854-
if logCounter%100 == 0 {
854+
if logCounter%300 == 0 {
855855
// print every 10s
856-
r.logger.Error(fmt.Sprintf("not gossiping votes %d %d %d %t %t %t", blockStoreBase, prs.Height, rs.Height, enteredB1, enteredB2, enteredCatchup))
857-
r.logger.Error(ps.PRS.String())
856+
r.logger.Error(fmt.Sprintf("not gossiping votes %d %d %d %t %t %t", blockStoreBase, prs.Height, rs.Height, enteredB1, enteredB2, enteredCatchup), "peer", ps.peerID)
857+
r.logger.Error(ps.PRS.String(), "peer", ps.peerID)
858858
}
859859
logCounter++
860860
r.Metrics.GossipVotesCount.With(

0 commit comments

Comments
 (0)