Skip to content

Commit

Permalink
make sure the log preserving thread factory uses the MDC created by L…
Browse files Browse the repository at this point in the history
…inkd for categorization
  • Loading branch information
Benjamin Reed committed Dec 16, 2013
1 parent bbe0bab commit 14e215c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -118,7 +118,7 @@ public Scheduler(String parent, int maxSize) {
m_status = START_PENDING;
m_runner = Executors.newFixedThreadPool(
maxSize,
new LogPreservingThreadFactory(getClass().getSimpleName(), maxSize, false)
new LogPreservingThreadFactory(getClass().getSimpleName(), maxSize, true)
);
m_queues = new ConcurrentSkipListMap<Long,PeekableFifoQueue<ReadyRunnable>>();
m_scheduled = 0;
Expand Down

0 comments on commit 14e215c

Please sign in to comment.