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/29 19:42:04 UTC

[lucene-solr] branch reference_impl_dev updated: @626 Try to ensure client controls timeouts over server.

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 036a4d9  @626 Try to ensure client controls timeouts over server.
036a4d9 is described below

commit 036a4d9af88115b317467042cba8c8a460c43032
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Sat Aug 29 14:41:36 2020 -0500

    @626 Try to ensure client controls timeouts over server.
---
 solr/test-framework/src/java/org/apache/solr/SolrTestCase.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/solr/test-framework/src/java/org/apache/solr/SolrTestCase.java b/solr/test-framework/src/java/org/apache/solr/SolrTestCase.java
index e9d04bc..03cc416 100644
--- a/solr/test-framework/src/java/org/apache/solr/SolrTestCase.java
+++ b/solr/test-framework/src/java/org/apache/solr/SolrTestCase.java
@@ -288,7 +288,7 @@ public class SolrTestCase extends LuceneTestCase {
       System.setProperty("solr.defaultCollectionActiveWait", "10");
 
       System.setProperty("solr.http2solrclient.maxpool.size", "6");
-      System.setProperty("solr.http2solrclient.pool.keepalive", "5000");
+      System.setProperty("solr.http2solrclient.pool.keepalive", "1500");
 
       System.setProperty("solr.disablePublicKeyHandler", "false");
       System.setProperty("solr.dependentupdate.timeout", "1"); // seconds
@@ -325,7 +325,7 @@ public class SolrTestCase extends LuceneTestCase {
 
       System.setProperty("prepRecoveryReadTimeoutExtraWait", "100");
       System.setProperty("validateAfterInactivity", "-1");
-      System.setProperty("leaderVoteWait", "5000"); // this is also apparently controlling how long we wait for a leader on register nocommit
+      System.setProperty("leaderVoteWait", "2500"); // this is also apparently controlling how long we wait for a leader on register nocommit
       System.setProperty("leaderConflictResolveWait", "10000");
 
       System.setProperty("solr.recovery.recoveryThrottle", "500");