-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-factoring
_stop_request_generator()
a slight bit.
- Dropping the "extra" check - Making it return `True/False` rather than throwing an exception, this way the recovery can just be negated instead of a panic - Added logging statements to indicate if it was stopped and when the helper is actually waiting on `Queue.empty()`
- Loading branch information
Showing
2 changed files
with
85 additions
and
34 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