Skip to content

Commit 88526bc

Browse files
committed
Fix pool types
1 parent 53de7ff commit 88526bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/src/main/java/org/elasticsearch/threadpool/ThreadPool.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,12 @@ public static ThreadPoolType fromType(String type) {
185185
}
186186

187187
public static final Map<String, ThreadPoolType> THREAD_POOL_TYPES = Map.ofEntries(
188-
entry(Names.GENERIC, ThreadPoolType.SCALING),
188+
entry(Names.GENERIC, ThreadPoolType.VIRTUAL),
189189
entry(Names.CLUSTER_COORDINATION, ThreadPoolType.FIXED),
190190
entry(Names.GET, ThreadPoolType.FIXED),
191191
entry(Names.ANALYZE, ThreadPoolType.FIXED),
192-
entry(Names.WRITE, ThreadPoolType.FIXED),
193-
entry(Names.WRITE_COORDINATION, ThreadPoolType.FIXED),
192+
entry(Names.WRITE, ThreadPoolType.VIRTUAL),
193+
entry(Names.WRITE_COORDINATION, ThreadPoolType.VIRTUAL),
194194
entry(Names.SEARCH, ThreadPoolType.FIXED),
195195
entry(Names.SEARCH_COORDINATION, ThreadPoolType.FIXED),
196196
entry(Names.AUTO_COMPLETE, ThreadPoolType.FIXED),

0 commit comments

Comments
 (0)