Skip to content

Commit

Permalink
Increase index_searcher thread count to 2x processor
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Deng <[email protected]>
  • Loading branch information
jed326 authored and Jay Deng committed Feb 6, 2024
1 parent 798de33 commit 4e986b1
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 4e986b1

Please sign in to comment.