Skip to content

Commit

Permalink
Make the threads created by M3Reporter be daemon threads
Browse files Browse the repository at this point in the history
  • Loading branch information
agrawaldevesh authored Dec 23, 2021
1 parent 3164eb6 commit be0938d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m3/src/main/java/com/uber/m3/tally/m3/M3Reporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ private static ThreadFactory createThreadFactory() {
return new ThreadFactory() {
@Override
public Thread newThread(Runnable r) {
return new Thread(r, String.format("m3-reporter-%d", processorThreadCounter.getAndIncrement()));
return new Thread(r, String.format("m3-reporter-%d", processorThreadCounter.getAndIncrement())).setDaemon(true);
}
};
}
Expand Down

0 comments on commit be0938d

Please sign in to comment.