Skip to content

Commit

Permalink
Update internal/component/loki/source/file/decompresser.go
Browse files Browse the repository at this point in the history
Co-authored-by: Sam DeHaan <sam.dehaan@grafana.com>
  • Loading branch information
wildum and dehaansa authored Jan 17, 2025
1 parent ab59411 commit 6adc8e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/component/loki/source/file/decompresser.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func (d *decompressor) readLines(handler loki.EntryHandler) {
}

func (d *decompressor) markPositionAndSize() error {
// Lock this update because it can be called in two different threads
// Lock this update because it can be called in two different goroutines
d.posAndSizeMtx.Lock()
defer d.posAndSizeMtx.Unlock()

Expand Down

0 comments on commit 6adc8e0

Please sign in to comment.