dsmiley commented on code in PR #2248:
URL: https://github.com/apache/solr/pull/2248#discussion_r1557906904


##########
solr/core/src/java/org/apache/solr/core/CoreContainer.java:
##########
@@ -445,6 +447,17 @@ public CoreContainer(NodeConfig config, CoresLocator 
locator, boolean asyncSolrC
             cfg.getIndexSearcherExecutorThreads(), // thread count
             cfg.getIndexSearcherExecutorThreads(), // queue size
             new SolrNamedThreadFactory("searcherCollector"));
+    ((ExecutorUtil.MDCAwareThreadPoolExecutor) 
collectorExecutor).setRejectedExecutionHandler(new RejectedExecutionHandler() {

Review Comment:
   Have you considered SynchronousQueue instead of a big queue?  I'm not sure 
what value the queue has for this use-case.



-- 
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