Skip to content

Commit

Permalink
increase execute thread pool size (#2691) (#2699)
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 committed Jul 22, 2024
1 parent 51cba97 commit 7afaf2a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -835,8 +835,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 7afaf2a

Please sign in to comment.