Skip to content

Commit 3cb189f

Browse files
committed
Reduce MAX_TOP_N_INDEX_READ_SIZE to 50
Signed-off-by: David Zane <[email protected]>
1 parent f3901c5 commit 3cb189f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/opensearch/plugin/insights/core/reader/LocalIndexReader.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* Local index reader for reading query insights data from local OpenSearch indices.
4040
*/
4141
public final class LocalIndexReader implements QueryInsightsReader {
42-
private final static int MAX_TOP_N_INDEX_READ_SIZE = 1000;
42+
private final static int MAX_TOP_N_INDEX_READ_SIZE = 50;
4343
/**
4444
* Logger of the local index reader
4545
*/

0 commit comments

Comments
 (0)