Commit b7b7c840 by nixonrodrigues Committed by Sarath Subramanian

ATLAS-3764 : Set default value for atlas.graph.index.search.max-result-set-size…

ATLAS-3764 : Set default value for atlas.graph.index.search.max-result-set-size in Atlas ApplicationProperties #2 Change-Id: Ied094f9dfb701de9bd93de109f94df17c6e94a8c
parent f20f8bae
...@@ -355,8 +355,8 @@ public final class ApplicationProperties extends PropertiesConfiguration { ...@@ -355,8 +355,8 @@ public final class ApplicationProperties extends PropertiesConfiguration {
} }
} }
// setting value for 'atlas.graph.index.search.max-result-set-size' (default = 2147483647) // setting value for 'atlas.graph.index.search.max-result-set-size' (default = 500000)
int indexMaxResultSetSize = getInt(INDEX_SEARCH_MAX_RESULT_SET_SIZE, Integer.MAX_VALUE); int indexMaxResultSetSize = getInt(INDEX_SEARCH_MAX_RESULT_SET_SIZE, 500000);
clearPropertyDirect(INDEX_SEARCH_MAX_RESULT_SET_SIZE); clearPropertyDirect(INDEX_SEARCH_MAX_RESULT_SET_SIZE);
addPropertyDirect(INDEX_SEARCH_MAX_RESULT_SET_SIZE, indexMaxResultSetSize); addPropertyDirect(INDEX_SEARCH_MAX_RESULT_SET_SIZE, indexMaxResultSetSize);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment