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/07/27 02:41:22 UTC

[lucene-solr] branch reference_impl updated: @370 We don't stop the scheduler, it's managed.

This is an automated email from the ASF dual-hosted git repository.

markrmiller pushed a commit to branch reference_impl
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/reference_impl by this push:
     new 3bcc4cf  @370 We don't stop the scheduler, it's managed.
3bcc4cf is described below

commit 3bcc4cf9c2d267f788d917c055434ec184eacb5d
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Sun Jul 26 21:40:43 2020 -0500

    @370 We don't stop the scheduler, it's managed.
---
 .../java/org/apache/solr/client/solrj/impl/Http2SolrClient.java   | 8 --------
 1 file changed, 8 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 9c48636..081287c 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
@@ -272,14 +272,6 @@ public class Http2SolrClient extends SolrClient {
         throw new RuntimeException(e);
       }
     }
-    if (scheduler != null) {
-      try {
-        scheduler.stop();
-      } catch (Exception e) {
-        ParWork.propegateInterrupt(e);
-        throw new RuntimeException(e);
-      }
-    }
     // we wait for async requests, so far devs don't want to give sugar for this
     asyncTracker.waitForCompleteFinal();
     if (httpClientExecutor != null) {