Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update HystrixMetricsPoller.java
Make HystrixMetricPoller a daemon thread to allow application shutdown gracefully
  • Loading branch information
yanwork committed Mar 22, 2016
commit b3e15d665a89b8af14f29553ffd8c4afef8ac5b3
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