Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into 5088-beacon-suppor…
Browse files Browse the repository at this point in the history
…t-multiple-ids
  • Loading branch information
poszu committed Oct 17, 2023
2 parents cf8ad8b + bc34962 commit 7227342
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion timesync/clock.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ func (t *NodeClock) tick() {
)
d := t.lastTicked.Difference(layer)
tickDistance.Observe(float64(-d))
case layer.Difference(t.lastTicked) > 1:
// don't warn right after fresh startup
case layer.Difference(t.lastTicked) > 1 && t.lastTicked > 0:
t.log.With().Warning("clock skipped layers",
log.Stringer("layer", layer),
log.Stringer("last_ticked_layer", t.lastTicked),
Expand Down

0 comments on commit 7227342

Please sign in to comment.