-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(maint) implement more proactive shutdown behaviors
This does several things: * creates a shutdown? boolean that indicates if the service is being shut down. * Collects all the futures created for background tasks to explicitly ask them to cancel at shutdown * Adds a "Thread/isInterrupted" check to terminate if the thread has been asked to cancel and the watcher has not shut down properly * Adds logging to all Throwable exceptions before rethrowing them.
- Loading branch information
1 parent
8823aa8
commit 05f28aa
Showing
2 changed files
with
40 additions
and
18 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