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/12/12 09:51:21 UTC
lucene-solr:jira/http2: Commented out debug info in Http2SolrClient
Repository: lucene-solr
Updated Branches:
refs/heads/jira/http2 5a2e92344 -> d34e04534
Commented out debug info in Http2SolrClient
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/d34e0453
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/d34e0453
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/d34e0453
Branch: refs/heads/jira/http2
Commit: d34e0453446d1454c70f6526d80ef4dc73014022
Parents: 5a2e923
Author: Cao Manh Dat <da...@apache.org>
Authored: Wed Dec 12 09:50:55 2018 +0000
Committer: Cao Manh Dat <da...@apache.org>
Committed: Wed Dec 12 09:50:55 2018 +0000
----------------------------------------------------------------------
.../org/apache/solr/client/solrj/impl/Http2SolrClient.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/d34e0453/solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java
----------------------------------------------------------------------
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 847ff48..d32bd18 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
@@ -169,9 +169,9 @@ public class Http2SolrClient extends SolrClient {
BlockingArrayQueue<Runnable> queue = new BlockingArrayQueue<>(256, 256);
QueuedThreadPool httpClientExecutor = new QueuedThreadPool(256, 16, 60000, queue);
httpClientExecutor.setName("h2sc-qtp"+httpClientExecutor.hashCode());
- if (System.getProperty("jetty.testMode") != null) {
- httpClientExecutor.setName("h2sc-qtp-"+ Arrays.toString(Thread.currentThread().getStackTrace()));
- }
+// if (System.getProperty("jetty.testMode") != null) {
+// httpClientExecutor.setName("h2sc-qtp-"+ Arrays.toString(Thread.currentThread().getStackTrace()));
+// }
httpClientExecutor.setDaemon(true);
httpClientExecutor.setIdleTimeout(1000000000);