From cea41cf17cfd6276bc959dbd1d04b78f457c97d0 Mon Sep 17 00:00:00 2001 From: Jay Deng Date: Tue, 6 Feb 2024 18:03:35 -0800 Subject: [PATCH] Increase index_searcher thread count to 2x processor (#12196) (#12206) Signed-off-by: Jay Deng --- server/src/main/java/org/opensearch/threadpool/ThreadPool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/threadpool/ThreadPool.java b/server/src/main/java/org/opensearch/threadpool/ThreadPool.java index 176b8fe945a0d..6fad8d6c7824b 100644 --- a/server/src/main/java/org/opensearch/threadpool/ThreadPool.java +++ b/server/src/main/java/org/opensearch/threadpool/ThreadPool.java @@ -295,7 +295,7 @@ public ThreadPool( new AutoQueueAdjustingExecutorBuilder( settings, Names.INDEX_SEARCHER, - allocatedProcessors, + twiceAllocatedProcessors(allocatedProcessors), 1000, 1000, 1000,