Skip to content

Commit

Permalink
buffered events chan
Browse files Browse the repository at this point in the history
  • Loading branch information
mariocandela committed Aug 20, 2023
1 parent 6ee3ea2 commit faa3add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracer/tracer.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ var (
func Init(strategy Strategy) *tracer {
tracer := &tracer{
strategy: strategy,
eventsChan: make(chan Event),
eventsChan: make(chan Event, Workers),
}

for i := 0; i <= Workers; i++ {
Expand Down

0 comments on commit faa3add

Please sign in to comment.