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/08/31 17:24:07 UTC

[lucene-solr] branch reference_impl_dev updated: @651 Go back to 0 on reserved executor.

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


The following commit(s) were added to refs/heads/reference_impl_dev by this push:
     new cdf951c  @651 Go back to 0 on reserved executor.
cdf951c is described below

commit cdf951c7d8fedc1cf194e87c34a47263f63ba13b
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Mon Aug 31 12:22:21 2020 -0500

    @651 Go back to 0 on reserved executor.
---
 .../src/java/org/apache/solr/common/util/SolrQueuedThreadPool.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 e99e0d2..934fd5c 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
@@ -89,7 +89,7 @@ public class SolrQueuedThreadPool extends ContainerLifeCycle implements ThreadFa
 
     public SolrQueuedThreadPool(String name) {
         this(Integer.MAX_VALUE, 12,
-                60000, -1,
+                60000, 0, // no reserved executor threads - we can process requests after shutdown or some race - we try to limit without threadpool limits no anyway
                 null, null,
                 new  SolrNamedThreadFactory(name));
         this.name = name;