Skip to content

Commit

Permalink
Try to have more buffering in ordered batches
Browse files Browse the repository at this point in the history
maybe waiting to send to ordered batches comes with too much overhead

Signed-off-by: Dimitar Dimitrov <[email protected]>
  • Loading branch information
dimitarvdimitrov committed Sep 20, 2024
1 parent 5ac375f commit 886b159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storage/ingest/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ func newConcurrentFetchers(
startOffsets: startOffsetsReader,
trackCompressedBytes: trackCompressedBytes,
tracer: recordsTracer(),
orderedFetches: make(chan fetchResult),
orderedFetches: make(chan fetchResult, 1),
}

var err error
Expand Down

0 comments on commit 886b159

Please sign in to comment.