-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add missed return * refactor subscriber to prevent locking on err channel Refactor pull method and subscriber to prevent falltrough to second iteration after pull send err into channel. * Make error channel buffered for one element To prevent deadlock for routine if error never recived from consumer add one element buffer to unblock routine and allow it return from main loop
- Loading branch information
Aliaksei Burau
authored
Oct 14, 2019
1 parent
e4c5e05
commit 6e0b1b3
Showing
2 changed files
with
30 additions
and
20 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