We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 134cd02 commit 41df480Copy full SHA for 41df480
server/src/main/java/org/elasticsearch/threadpool/ThreadPool.java
@@ -192,7 +192,7 @@ public static ThreadPoolType bwcType(String threadPoolName) {
192
case Names.GENERIC:
193
return SCALING;
194
default:
195
- throw new IllegalArgumentException("no bwc type for " + threadPoolName);
+ return THREAD_POOL_TYPES.get(threadPoolName);
196
}
197
198
0 commit comments