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/10/02 02:12:27 UTC

[lucene-solr] 02/06: @910 idle pool times.

This is an automated email from the ASF dual-hosted git repository.

markrmiller pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit be9ac74a13553fc184bd5da1df7a64c710dc6f74
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Thu Oct 1 19:04:41 2020 -0500

    @910 idle pool times.
---
 solr/solrj/src/java/org/apache/solr/common/ParWork.java                 | 2 +-
 .../src/java/org/apache/solr/common/util/SolrQueuedThreadPool.java      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/solr/solrj/src/java/org/apache/solr/common/ParWork.java b/solr/solrj/src/java/org/apache/solr/common/ParWork.java
index d74caa8..07e35a2 100644
--- a/solr/solrj/src/java/org/apache/solr/common/ParWork.java
+++ b/solr/solrj/src/java/org/apache/solr/common/ParWork.java
@@ -80,7 +80,7 @@ public class ParWork implements Closeable {
       synchronized (ParWork.class) {
         if (EXEC == null) {
           EXEC = (ThreadPoolExecutor) getParExecutorService("RootExec",
-              Integer.getInteger("solr.rootSharedThreadPoolCoreSize", 250), Integer.MAX_VALUE, 30000,
+              Integer.getInteger("solr.rootSharedThreadPoolCoreSize", 250), Integer.MAX_VALUE, 5000,
               new SynchronousQueue());
           ((ParWorkExecutor)EXEC).enableCloseLock();
         }
diff --git a/solr/solrj/src/java/org/apache/solr/common/util/SolrQueuedThreadPool.java b/solr/solrj/src/java/org/apache/solr/common/util/SolrQueuedThreadPool.java
index 48b9e0b..f15efc3 100644
--- a/solr/solrj/src/java/org/apache/solr/common/util/SolrQueuedThreadPool.java
+++ b/solr/solrj/src/java/org/apache/solr/common/util/SolrQueuedThreadPool.java
@@ -100,7 +100,7 @@ public class SolrQueuedThreadPool extends ContainerLifeCycle implements ThreadFa
 
     public SolrQueuedThreadPool(String name) {
         this(name, Integer.MAX_VALUE, Integer.getInteger("solr.minContainerThreads", 250),
-            Integer.getInteger("solr.containerThreadsIdleTimeout", 30000), -1,
+            Integer.getInteger("solr.containerThreadsIdleTimeout", 5000), -1,
                 null, -1, null,
                 new  SolrNamedThreadFactory(name));
         this.name = name;