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/11 22:46:56 UTC

[lucene-solr] branch reference_impl updated: #79 Tweak on jetty thread pool config.

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 dc37d42  #79 Tweak on jetty thread pool config.
dc37d42 is described below

commit dc37d42232d6d5ed58ff78f95c6f84e5a8ed90f1
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Sat Jul 11 17:46:40 2020 -0500

    #79 Tweak on jetty thread pool config.
---
 solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java b/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java
index 0ef60b4..b625001 100644
--- a/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java
+++ b/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java
@@ -3026,8 +3026,8 @@ public abstract class SolrTestCaseJ4 extends SolrTestCase {
           qtp.setName("solr-test-qtp");
           qtp.setMaxThreads(Integer.getInteger("solr.maxContainerThreads", 10000));
           qtp.setLowThreadsThreshold(Integer.getInteger("solr.lowContainerThreadsThreshold", -1)); // we don't use this or connections will get cut
-          qtp.setMinThreads(Integer.getInteger("solr.minContainerThreads", 20));
-          qtp.setIdleTimeout(Integer.getInteger("solr.containerThreadsIdle", 30000));
+          qtp.setMinThreads(Integer.getInteger("solr.minContainerThreads", 2));
+          qtp.setIdleTimeout(Integer.getInteger("solr.containerThreadsIdle", 1000));
 
           qtp.setStopTimeout((int) TimeUnit.MINUTES.toMillis(2));
           qtp.setReservedThreads(-1); // -1 auto sizes, important to keep