forked from hound-search/hound
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the concurrent searchers init routine to simplify the implementation and use only one common channel to return successfully created searchers as well as errors. This way we also get rid of the go routine collecting the results on the channel by making the main routine collect the results by blocking the execution and listening on the channel.
- Loading branch information
1 parent
74815e9
commit 8d51b7d
Showing
1 changed file
with
28 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters