Skip to content

Commit 9fc116a

Browse files
committed
Move to newMDCAwareCachedThreadPool
1 parent ea22fb5 commit 9fc116a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

solr/core/src/java/org/apache/solr/core/CoreContainer.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,8 +458,10 @@ public CoreContainer(NodeConfig config, CoresLocator locator, boolean asyncSolrC
458458
this.indexSearcherExecutor = SolrIndexSearcher.initCollectorExecutor(cfg);
459459

460460
this.indexFingerprintExecutor =
461-
ExecutorUtil.newMDCAwareFixedThreadPool(
462-
EXECUTOR_MAX_CPU_THREADS, new SolrNamedThreadFactory("IndexFingerprintPool"));
461+
ExecutorUtil.newMDCAwareCachedThreadPool(
462+
EXECUTOR_MAX_CPU_THREADS,
463+
Integer.MAX_VALUE,
464+
new SolrNamedThreadFactory("IndexFingerprintPool"));
463465
}
464466

465467
@SuppressWarnings({"unchecked"})

0 commit comments

Comments
 (0)