Skip to content

Commit

Permalink
Merge pull request #1157 from yanwork/patch-1
Browse files Browse the repository at this point in the history
HystrixMetricsPoller as a daemon thread
  • Loading branch information
mattrjacobs committed Mar 23, 2016
2 parents 66505b8 + b3e15d6 commit a824253
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ private class MetricsPollerThreadFactory implements ThreadFactory {
public Thread newThread(Runnable r) {
Thread thread = defaultFactory.newThread(r);
thread.setName(MetricsThreadName);
thread.setDaemon(true);
return thread;
}
}
Expand Down

0 comments on commit a824253

Please sign in to comment.