-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When a (1) capped channel has more than one consumer, one of them will effectively remain blocking as the other consumes the message from the channel. Closing the channel unblocks any/all consumers. Here we also unpublish previously public ModuleOperation.Done() to further prevent deadlocks in the future, i.e. effectively to prevent any place that schedules tasks to wait. The only reason we keep the channel there for now is to make testing *within the package* easier.
- Loading branch information
1 parent
dd3a024
commit 84cee5d
Showing
3 changed files
with
10 additions
and
14 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
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
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