Skip to content

Commit

Permalink
Ensure confirmed sequence number metric is populated
Browse files Browse the repository at this point in the history
  • Loading branch information
PlasmaPower committed Dec 15, 2023
1 parent ba66b82 commit f76ba8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions broadcaster/backlog/backlog.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func (b *backlog) Append(bm *m.BroadcastMessage) error {
segment = newBacklogSegment()
b.head.Store(segment)
b.tail.Store(segment)
confirmedSequenceNumberGauge.Update(int64(msg.SequenceNumber))
}

prevMsgIdx := segment.End()
Expand Down

0 comments on commit f76ba8e

Please sign in to comment.