Skip to content

Commit 71a0d28

Browse files
committed
Remove unneeded attribute
1 parent 2652846 commit 71a0d28

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

server/src/main/java/org/elasticsearch/common/util/concurrent/EsExecutors.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,11 @@
1616
import org.elasticsearch.common.unit.Processors;
1717
import org.elasticsearch.core.SuppressForbidden;
1818
import org.elasticsearch.node.Node;
19-
import org.elasticsearch.threadpool.ThreadPool;
2019

2120
import java.security.AccessController;
2221
import java.security.PrivilegedAction;
2322
import java.util.List;
2423
import java.util.Optional;
25-
import java.util.Set;
2624
import java.util.concurrent.AbstractExecutorService;
2725
import java.util.concurrent.BlockingQueue;
2826
import java.util.concurrent.CancellationException;
@@ -44,13 +42,6 @@ public class EsExecutors {
4442
// although the available processors may technically change, for node sizing we use the number available at launch
4543
private static final int MAX_NUM_PROCESSORS = Runtime.getRuntime().availableProcessors();
4644

47-
private static final Set<String> SYSTEM_THREAD_PREFIXES = Set.of(
48-
ThreadPool.Names.SYSTEM_READ,
49-
ThreadPool.Names.SYSTEM_WRITE,
50-
ThreadPool.Names.SYSTEM_CRITICAL_READ,
51-
ThreadPool.Names.SYSTEM_CRITICAL_WRITE
52-
);
53-
5445
/**
5546
* Setting to manually control the number of allocated processors. This setting is used to adjust thread pool sizes per node. The
5647
* default value is {@link Runtime#availableProcessors()} but should be manually controlled if not all processors on the machine are

0 commit comments

Comments
 (0)