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/09/19 23:01:21 UTC

[lucene-solr] 02/02: tmptmp6

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 ad9aa4e26cce3788b5601e9e94f358c4b24edfa6
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Sat Sep 19 18:01:02 2020 -0500

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

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 d783c46..9d4ad36 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
@@ -218,7 +218,7 @@ public class Http2SolrClient extends SolrClient {
     httpClientExecutor = new SolrQueuedThreadPool("http2Client",
         Integer.getInteger("solr.maxHttp2ClientThreads", Math.max(12, ParWork.PROC_COUNT / 2)),
         Integer.getInteger("solr.minHttp2ClientThreads", 4),
-        this.headers.get(QoSParams.REQUEST_SOURCE).equals(QoSParams.INTERNAL) ? 500 : 5000, null, null);
+        this.headers != null && this.headers.get(QoSParams.REQUEST_SOURCE).equals(QoSParams.INTERNAL) ? 500 : 5000, null, null);
     httpClientExecutor.setLowThreadsThreshold(-1);
 
     boolean sslOnJava8OrLower = ssl && !Constants.JRE_IS_MINIMUM_JAVA9;