Skip to content

Commit

Permalink
Merge pull request Netflix#49 from jeffastorey/1.x
Browse files Browse the repository at this point in the history
using daemon threads for the InstanceMonitor for cleaner shutdown
  • Loading branch information
benjchristensen committed Nov 19, 2014
2 parents 958b6be + 1f2f24a commit 3530bba
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ public class InstanceMonitor extends TurbineDataMonitor<DataFromSingleInstance>

public Thread newThread(Runnable r) {
Thread thread = defaultFactory.newThread(r);
thread.setDaemon(true);
thread.setName(ThreadName);
return thread;
}
Expand Down

0 comments on commit 3530bba

Please sign in to comment.