Removing hard coded value of max concurrent shard requests (#3364)

Signed-off-by: Ankit Jain <jain.ankitk@gmail.com>
This commit is contained in:
Ankit Jain 2022-05-18 10:51:21 -07:00 committed by GitHub
parent 892e9846b5
commit f8b102c565
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ public class TransportSearchAction extends HandledTransportAction<SearchRequest,
clusterState,
task,
new ArraySearchPhaseResults<>(shardsIts.size()),
1,
searchRequest.getMaxConcurrentShardRequests(),
clusters
) {
@Override