-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scheduler will now wait for threads on shutdown (#1137)
Updated the scheduler helper to have the shutdown method block until the threads stop. This makes it easier for callers to ensure they are not competing with in-progress tasks while performing other shutdown work.
- Loading branch information
1 parent
55c82c6
commit 7ccf552
Showing
2 changed files
with
26 additions
and
6 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
2 changes: 1 addition & 1 deletion
2
spectator-api/src/test/java/com/netflix/spectator/impl/SchedulerTest.java
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