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/10/02 05:07:38 UTC
[lucene-solr] 01/02: @921 Back to 1.
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
commit 1b3491be1823816af3f9c33e963230159d65d87b
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Thu Oct 1 23:50:49 2020 -0500
@921 Back to 1.
---
.../src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java
index eb6ff29..040e2e0 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java
@@ -250,7 +250,7 @@ public class Http2SolrClient extends SolrClient {
httpClient.setExecutor(httpClientExecutor);
httpClient.manage(httpClientExecutor);
httpClient.setStrictEventOrdering(strictEventOrdering);
- httpClient.setSocketAddressResolver(new SocketAddressResolver.Sync());
+ // httpClient.setSocketAddressResolver(new SocketAddressResolver.Sync());
httpClient.setConnectBlocking(false);
httpClient.setFollowRedirects(false);
if (builder.maxConnectionsPerHost != null) httpClient.setMaxConnectionsPerDestination(builder.maxConnectionsPerHost);
@@ -970,7 +970,7 @@ public class Http2SolrClient extends SolrClient {
private SSLConfig sslConfig = defaultSSLConfig;
private Integer idleTimeout = Integer.getInteger("solr.http2solrclient.default.idletimeout", 120000);
private Integer connectionTimeout;
- private Integer maxConnectionsPerHost = 4;
+ private Integer maxConnectionsPerHost = 1;
private boolean useHttp1_1 = Boolean.getBoolean("solr.http1");
protected String baseSolrUrl;
protected Map<String,String> headers = new ConcurrentHashMap<>();