-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve connection close and error handling (#107)
* Update `SelectConsumerThread` to pass exceptions to `self.error_func` to match `BlockingConsumerThread` Handle channel/connection closed exceptions explicitly in `SelectConsumerThread` * Update `BlockingConsumerThread` to ensure connection is closed exactly once Update tests to check for expected error callbacks * Ignore `StreamLostError`s during consumer shutdown
- Loading branch information
1 parent
f845c3f
commit 13604c7
Showing
3 changed files
with
24 additions
and
8 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