Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-8533: Raise default maxUpdateConnections and maxUpdateConnectionsPerHost to 100k each.

Mark Robert Miller4fe47d19345b
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index ba599367071..830ab9e4af3 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -353,7 +353,10 @@ Bug Fixes
HttpSolrCall#remoteQuery should not close streams. (Mark Miller)
* SOLR-8450: Our HttpClient retry policy is too permissive. (Mark Miller, shalin)
-
+
+* SOLR-8533: Raise default maxUpdateConnections and maxUpdateConnectionsPerHost to 100k each.
+ (Mark Miller)
+
Other Changes
----------------------
diff --git a/solr/core/src/java/org/apache/solr/update/UpdateShardHandlerConfig.java b/solr/core/src/java/org/apache/solr/update/UpdateShardHandlerConfig.java
index dd96cc8522d..e1d3ddf09f2 100644
--- a/solr/core/src/java/org/apache/solr/update/UpdateShardHandlerConfig.java
+++ b/solr/core/src/java/org/apache/solr/update/UpdateShardHandlerConfig.java
@@ -21,8 +21,8 @@ public class UpdateShardHandlerConfig {
public static final int DEFAULT_DISTRIBUPDATECONNTIMEOUT = 60000;
public static final int DEFAULT_DISTRIBUPDATESOTIMEOUT = 600000;
- public static final int DEFAULT_MAXUPDATECONNECTIONS = 10000;
- public static final int DEFAULT_MAXUPDATECONNECTIONSPERHOST = 100;
+ public static final int DEFAULT_MAXUPDATECONNECTIONS = 100000;
+ public static final int DEFAULT_MAXUPDATECONNECTIONSPERHOST = 100000;
public static final UpdateShardHandlerConfig DEFAULT
= new UpdateShardHandlerConfig(DEFAULT_MAXUPDATECONNECTIONS, DEFAULT_MAXUPDATECONNECTIONSPERHOST,