Skip to content
This repository has been archived by the owner on Dec 4, 2022. It is now read-only.

Commit

Permalink
make resultsChan buffered again
Browse files Browse the repository at this point in the history
  • Loading branch information
nscuro committed Jul 26, 2020
1 parent 6d96605 commit d7b4cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/search/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (s Searcher) Search(ctx context.Context, options Options) (<-chan dataset.E
return nil, nil, fmt.Errorf("invalid options: %w", err)
}

resultsChan := make(chan dataset.Entry)
resultsChan := make(chan dataset.Entry, 10)
errorsChan := make(chan error)

go func() {
Expand Down

0 comments on commit d7b4cbe

Please sign in to comment.