[ML] Increase autodetect thread pool queue size (elastic/x-pack-elasticsearch#3142)
relates elastic/x-pack-elasticsearch#2981
Original commit: elastic/x-pack-elasticsearch@81582b5e920556ad0c13ebf6afd35142e7f53928
@@ -511,7 +511,7 @@ public class MachineLearning implements ActionPlugin {
// 4 threads per job: for cpp logging, result processing, state processing and
// AutodetectProcessManager worker thread:
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.
// Renormalization does't run for the entire lifetime of a job, so additionally autodetect process
