Remove artificial default processors limit

This commit responds to an API change in core migrating from
EsExecutors#boundedNumberOfProcessors to EsExecutors#numberOfProcessors.

Original commit: elastic/x-pack-elasticsearch@87d6fad971
This commit is contained in:
Jason Tedor 2016-10-11 15:16:47 -04:00
parent 71d2c25fcb
commit 864cfb417a
1 changed files with 1 additions and 1 deletions

View File

@ -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);