You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by da...@apache.org on 2018/10/29 21:56:50 UTC

lucene-solr:jira/http2: Set default connections per host to 5

Repository: lucene-solr
Updated Branches:
  refs/heads/jira/http2 41db97304 -> a8b385fe9


Set default connections per host to 5


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/a8b385fe
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/a8b385fe
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/a8b385fe

Branch: refs/heads/jira/http2
Commit: a8b385fe9bc8d63a907ab3023a04026a765855c2
Parents: 41db973
Author: Cao Manh Dat <da...@apache.org>
Authored: Mon Oct 29 21:56:43 2018 +0000
Committer: Cao Manh Dat <da...@apache.org>
Committed: Mon Oct 29 21:56:43 2018 +0000

----------------------------------------------------------------------
 .../src/java/org/apache/solr/client/solrj/impl/HttpClientUtil.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/a8b385fe/solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpClientUtil.java
----------------------------------------------------------------------
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpClientUtil.java b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpClientUtil.java
index c97ef94..3fd2fb7 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpClientUtil.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpClientUtil.java
@@ -77,7 +77,7 @@ public class HttpClientUtil {
   
   public static final int DEFAULT_CONNECT_TIMEOUT = 60000;
   public static final int DEFAULT_SO_TIMEOUT = 600000;
-  public static final int DEFAULT_MAXCONNECTIONSPERHOST = 100000;
+  public static final int DEFAULT_MAXCONNECTIONSPERHOST = 5;
   public static final int DEFAULT_MAXCONNECTIONS = 100000;
   
   private static final int VALIDATE_AFTER_INACTIVITY_DEFAULT = 3000;