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/22 03:24:39 UTC

[lucene-solr] branch reference_impl updated: @287 We need a default constructor.

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 4cb1345  @287 We need a default constructor.
4cb1345 is described below

commit 4cb1345b89126e31772d4755986568114b597cdb
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Tue Jul 21 22:24:15 2020 -0500

    @287 We need a default constructor.
---
 .../src/java/org/apache/solr/common/util/SolrQueuedThreadPool.java    | 4 ++++
 1 file changed, 4 insertions(+)

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 c26162c..c2de6e3 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
@@ -82,6 +82,10 @@ public class SolrQueuedThreadPool extends ContainerLifeCycle implements ThreadFa
     private int _lowThreadsThreshold = 1;
     private ThreadPoolBudget _budget;
 
+    public SolrQueuedThreadPool() {
+        this("solr-jetty-thread");
+    }
+
     public SolrQueuedThreadPool(String name) {
         this(10000, 15,
                 15000, -1,