Skip to content

Commit

Permalink
Merge pull request #1829 from c9s/kbearXD/max/depth-buffer
Browse files Browse the repository at this point in the history
FIX: depth buffer can skip old event if event.FinalUpdateID <= buffer…
  • Loading branch information
kbearXD authored Nov 16, 2024
2 parents cd6393f + 319b813 commit f991062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/depth/buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func (b *Buffer) fetchAndPush() error {
var pushUpdates []Update
for _, u := range b.buffer {
// skip old events
if u.FirstUpdateID < finalUpdateID+1 {
if u.FinalUpdateID <= finalUpdateID {
continue
}

Expand Down

0 comments on commit f991062

Please sign in to comment.