Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
brycekahle committed Dec 16, 2024
1 parent 058a490 commit 0b82725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/network/tracer/connection/ebpf_tracer.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ func initClosedConnEventHandler(config *config.Config, closedCallback func(*netw

handler := singleConnHandler
perfMode := perf.WakeupEvents(config.ClosedBufferWakeupCount)
// multiply by number of connections with in-buffer batching to have save effect as with custom batching
// multiply by number of connections with in-buffer batching to have same effective size as with custom batching
chanSize := config.ClosedChannelSize * config.ClosedBufferWakeupCount
if config.CustomBatchingEnabled {
perfMode = perf.Watermark(1)
Expand Down

0 comments on commit 0b82725

Please sign in to comment.