This commit is contained in:
Andrea Cavalli 2021-06-25 20:25:57 +02:00
parent 4640d0dfad
commit bd62b83d57

View File

@ -75,7 +75,6 @@ public class LLLocalMultiLuceneIndex implements LLLuceneIndex {
}
LLLocalLuceneIndex[] luceneIndices = new LLLocalLuceneIndex[instancesCount];
ExecutorService[] luceneIndexExecutorServices = new ExecutorService[instancesCount];
for (int i = 0; i < instancesCount; i++) {
int finalI = i;
String instanceName;
@ -97,10 +96,8 @@ public class LLLocalMultiLuceneIndex implements LLLuceneIndex {
actionId
)
);
luceneIndexExecutorServices[i] = Executors.newSingleThreadExecutor();
}
this.luceneIndices = luceneIndices;
this.indexExecutorServices = luceneIndexExecutorServices;
}
private long newAction() {