Skip to content

Commit

Permalink
fix(ebpf): set pipeline chan size from config (aquasecurity#4329)
Browse files Browse the repository at this point in the history
Make all pipeline channels have the size set from the config option.
  • Loading branch information
geyslan authored Sep 25, 2024
1 parent 604c391 commit 1a0065b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ebpf/signature_engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ func (t *Tracee) engineEvents(ctx context.Context, in <-chan *trace.Event) (<-ch
out := make(chan *trace.Event, t.config.PipelineChannelSize)
errc := make(chan error, 1)

engineOutput := make(chan *detect.Finding, 10000)
engineInput := make(chan protocol.Event, 10000)
engineOutput := make(chan *detect.Finding, t.config.PipelineChannelSize)
engineInput := make(chan protocol.Event, t.config.PipelineChannelSize)
engineOutputEvents := make(chan *trace.Event, t.config.PipelineChannelSize)
source := engine.EventSources{Tracee: engineInput}

Expand Down

0 comments on commit 1a0065b

Please sign in to comment.