Skip to content

Commit

Permalink
Release events after they have been sent. (#711)
Browse files Browse the repository at this point in the history
  • Loading branch information
vadimalekseev authored Dec 5, 2024
1 parent 67a1249 commit 49541c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pipeline/batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ func (b *Batcher) commitBatch(batch *Batch) BatchStatus {

for i := range batch.events {
b.opts.Controller.Commit(batch.events[i])
batch.events[i] = nil
}

status := batch.status
Expand Down

0 comments on commit 49541c3

Please sign in to comment.