[ML] Increase autodetect thread pool queue size (elastic/x-pack-elasticsearch#3142)

relates elastic/x-pack-elasticsearch#2981

Original commit: elastic/x-pack-elasticsearch@86719ada89
This commit is contained in:
Dimitris Athanasiou 2017-11-28 14:46:04 +00:00 committed by GitHub
parent 84694fa4b4
commit 83e28bea3e
1 changed files with 1 additions and 1 deletions

View File

@ -516,7 +516,7 @@ public class MachineLearning implements ActionPlugin {
// 4 threads per job: for cpp logging, result processing, state processing and // 4 threads per job: for cpp logging, result processing, state processing and
// AutodetectProcessManager worker thread: // AutodetectProcessManager worker thread:
FixedExecutorBuilder autoDetect = new FixedExecutorBuilder(settings, AUTODETECT_THREAD_POOL_NAME, FixedExecutorBuilder autoDetect = new FixedExecutorBuilder(settings, AUTODETECT_THREAD_POOL_NAME,
maxNumberOfJobs * 4, 4, "xpack.ml.autodetect_thread_pool"); maxNumberOfJobs * 4, maxNumberOfJobs * 4, "xpack.ml.autodetect_thread_pool");
// 4 threads per job: processing logging, result and state of the renormalization process. // 4 threads per job: processing logging, result and state of the renormalization process.
// Renormalization does't run for the entire lifetime of a job, so additionally autodetect process // Renormalization does't run for the entire lifetime of a job, so additionally autodetect process