Skip to content

Commit

Permalink
increase execute thread pool size (#2691) (#2706)
Browse files Browse the repository at this point in the history
Signed-off-by: Yaliang Wu <[email protected]>
(cherry picked from commit b980199)

Co-authored-by: Yaliang Wu <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and ylwu-amzn authored Jul 23, 2024
1 parent c72b4a2 commit a734ad1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -843,8 +843,8 @@ public List<ExecutorBuilder<?>> getExecutorBuilders(Settings settings) {
FixedExecutorBuilder executeThreadPool = new FixedExecutorBuilder(
settings,
EXECUTE_THREAD_POOL,
Math.max(1, OpenSearchExecutors.allocatedProcessors(settings) - 1),
10,
OpenSearchExecutors.allocatedProcessors(settings) * 4,
10000,
ML_THREAD_POOL_PREFIX + EXECUTE_THREAD_POOL,
false
);
Expand Down

0 comments on commit a734ad1

Please sign in to comment.