Skip to content

Commit

Permalink
Removing hard coded value of max concurrent shard requests (#3364) (#…
Browse files Browse the repository at this point in the history
…3376)

Signed-off-by: Ankit Jain <jain.ankitk@gmail.com>
(cherry picked from commit f8b102c)

Co-authored-by: Ankit Jain <jain.ankitk@gmail.com>
  • Loading branch information
opensearch-trigger-bot[bot] and jainankitk authored May 18, 2022
1 parent a764fde commit 3dce333
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ public AbstractSearchAsyncAction<? extends SearchPhaseResult> asyncSearchAction(
clusterState,
task,
new ArraySearchPhaseResults<>(shardsIts.size()),
1,
searchRequest.getMaxConcurrentShardRequests(),
clusters
) {
@Override
Expand Down

0 comments on commit 3dce333

Please sign in to comment.