cpoerschke commented on code in PR #2508:
URL: https://github.com/apache/solr/pull/2508#discussion_r1688330420


##########
solr/core/src/java/org/apache/solr/core/CoreContainer.java:
##########
@@ -445,9 +445,9 @@ public CoreContainer(NodeConfig config, CoresLocator 
locator, boolean asyncSolrC
     final int indexSearcherExecutorThreads = 
cfg.getIndexSearcherExecutorThreads();
     if (0 < indexSearcherExecutorThreads) {
       this.collectorExecutor =
-          ExecutorUtil.newMDCAwareCachedThreadPool(
-              indexSearcherExecutorThreads, // thread count
-              indexSearcherExecutorThreads * 1000, // queue size
+          ExecutorUtil.newMDCAwareFixedThreadPool(
+              cfg.getIndexSearcherExecutorThreads(), // thread count
+              cfg.getIndexSearcherExecutorThreads() * 1000, // queue size

Review Comment:
   oops, hasty merge conflict resolution, i missed this:
   ```suggestion
                 indexSearcherExecutorThreads, // thread count
                 indexSearcherExecutorThreads * 1000, // queue size
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to