diff --git a/elasticsearch/src/main/java/org/elasticsearch/xpack/watcher/Watcher.java b/elasticsearch/src/main/java/org/elasticsearch/xpack/watcher/Watcher.java index 455dd0a3f35..0d34e61f4ba 100644 --- a/elasticsearch/src/main/java/org/elasticsearch/xpack/watcher/Watcher.java +++ b/elasticsearch/src/main/java/org/elasticsearch/xpack/watcher/Watcher.java @@ -169,7 +169,7 @@ public class Watcher implements ActionPlugin, ScriptPlugin { new FixedExecutorBuilder( settings, InternalWatchExecutor.THREAD_POOL_NAME, - 5 * EsExecutors.boundedNumberOfProcessors(settings), + 5 * EsExecutors.numberOfProcessors(settings), 1000, "xpack.watcher.thread_pool"); return Collections.singletonList(builder);