You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/07/15 19:25:54 UTC
[lucene-solr] branch reference_impl updated: #181 - Raise minimum a
bit.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch reference_impl
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/reference_impl by this push:
new dec635d #181 - Raise minimum a bit.
dec635d is described below
commit dec635debf703be77fd3a96668013763b3af1aa8
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Wed Jul 15 14:25:42 2020 -0500
#181 - Raise minimum a bit.
---
solr/core/src/java/org/apache/solr/core/CoreContainer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solr/core/src/java/org/apache/solr/core/CoreContainer.java b/solr/core/src/java/org/apache/solr/core/CoreContainer.java
index 60ba27c..0b63de5 100644
--- a/solr/core/src/java/org/apache/solr/core/CoreContainer.java
+++ b/solr/core/src/java/org/apache/solr/core/CoreContainer.java
@@ -396,7 +396,7 @@ public class CoreContainer implements Closeable {
if (solrCoreLoadExecutor == null) {
synchronized (CoreContainer.class) {
if (solrCoreLoadExecutor == null) {
- solrCoreLoadExecutor = new ExecutorUtil.MDCAwareThreadPoolExecutor(0, Math.max(2, Runtime.getRuntime().availableProcessors() / 2),
+ solrCoreLoadExecutor = new ExecutorUtil.MDCAwareThreadPoolExecutor(0, Math.max(4, Runtime.getRuntime().availableProcessors() / 2),
3, TimeUnit.SECONDS,
new BlockingArrayQueue<>(100, 10),
new SolrNamedThreadFactory("SolrCoreLoader"));