Skip to content

Commit

Permalink
Addressing PR comments (Part 3)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Palis <[email protected]>
  • Loading branch information
joshpalis committed Oct 9, 2023
1 parent 8084005 commit 6c3d3db
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,15 @@ public List<RestHandler> getRestHandlers(
@Override
public List<ExecutorBuilder<?>> getExecutorBuilders(Settings settings) {
// TODO : Determine final size/queueSize values for the provision thread pool
FixedExecutorBuilder provisionThreadPool = new FixedExecutorBuilder(
settings,
PROVISION_THREAD_POOL,
OpenSearchExecutors.allocatedProcessors(settings),
10,
FLOW_FRAMEWORK_THREAD_POOL_PREFIX + PROVISION_THREAD_POOL
return ImmutableList.of(
new FixedExecutorBuilder(
settings,
PROVISION_THREAD_POOL,
OpenSearchExecutors.allocatedProcessors(settings),
10,
FLOW_FRAMEWORK_THREAD_POOL_PREFIX + PROVISION_THREAD_POOL
)
);
return ImmutableList.of(provisionThreadPool);
}

}

0 comments on commit 6c3d3db

Please sign in to comment.