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/08/31 15:23:49 UTC

[lucene-solr] branch reference_impl_dev updated: @648 Switch to the root pool.

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


The following commit(s) were added to refs/heads/reference_impl_dev by this push:
     new 40389ee  @648 Switch to the root pool.
40389ee is described below

commit 40389ee3e6a0a57505f60f6dfb01941494b23b6d
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Mon Aug 31 10:18:56 2020 -0500

    @648 Switch to the root pool.
---
 .../java/org/apache/solr/client/solrj/io/graph/ShortestPathStream.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/io/graph/ShortestPathStream.java b/solr/solrj/src/java/org/apache/solr/client/solrj/io/graph/ShortestPathStream.java
index e53310c..3698ee3 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/io/graph/ShortestPathStream.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/io/graph/ShortestPathStream.java
@@ -297,7 +297,7 @@ public class ShortestPathStream extends TupleStream implements Expressible {
     List<Edge> targets = new ArrayList();
     ExecutorService threadPool = null;
 
-    threadPool = ParWork.getMyPerThreadExecutor();
+    threadPool = ParWork.getRootSharedExecutor();
 
     //Breadth first search
     TRAVERSE: