Skip to content

Commit

Permalink
Increase index_searcher thread count to 2x processor (#12196)
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Deng <[email protected]>
  • Loading branch information
jed326 authored Feb 7, 2024
1 parent 798de33 commit 237cee3
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,13 @@ public ThreadPool(
);
builders.put(
Names.INDEX_SEARCHER,
new ResizableExecutorBuilder(settings, Names.INDEX_SEARCHER, allocatedProcessors, 1000, runnableTaskListener)
new ResizableExecutorBuilder(
settings,
Names.INDEX_SEARCHER,
twiceAllocatedProcessors(allocatedProcessors),
1000,
runnableTaskListener
)
);

for (final ExecutorBuilder<?> builder : customBuilders) {
Expand Down

0 comments on commit 237cee3

Please sign in to comment.