Skip to content

Commit

Permalink
increase execute thread pool size (opensearch-project#2691)
Browse files Browse the repository at this point in the history
Signed-off-by: Yaliang Wu <[email protected]>
  • Loading branch information
ylwu-amzn authored Jul 22, 2024
1 parent d57e0b3 commit b980199
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -842,8 +842,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 b980199

Please sign in to comment.