Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
861f8f23
Commit
861f8f23
authored
Apr 29, 2020
by
nixonrodrigues
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
parent
25f3002e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
ApplicationProperties.java
...src/main/java/org/apache/atlas/ApplicationProperties.java
+9
-0
No files found.
intg/src/main/java/org/apache/atlas/ApplicationProperties.java
View file @
861f8f23
...
...
@@ -65,6 +65,7 @@ public final class ApplicationProperties extends PropertiesConfiguration {
public
static
final
boolean
DEFAULT_SOLR_WAIT_SEARCHER
=
true
;
public
static
final
boolean
DEFAULT_INDEX_MAP_NAME
=
false
;
public
static
final
AtlasRunMode
DEFAULT_ATLAS_RUN_MODE
=
AtlasRunMode
.
PROD
;
public
static
final
String
INDEX_SEARCH_MAX_RESULT_SET_SIZE
=
"atlas.graph.index.search.max-result-set-size"
;
public
static
final
SimpleEntry
<
String
,
String
>
DB_CACHE_CONF
=
new
SimpleEntry
<>(
"atlas.graph.cache.db-cache"
,
"true"
);
public
static
final
SimpleEntry
<
String
,
String
>
DB_CACHE_CLEAN_WAIT_CONF
=
new
SimpleEntry
<>(
"atlas.graph.cache.db-cache-clean-wait"
,
"20"
);
...
...
@@ -354,6 +355,14 @@ public final class ApplicationProperties extends PropertiesConfiguration {
}
}
// setting value for 'atlas.graph.index.search.max-result-set-size' (default = 2147483647)
int
indexMaxResultSetSize
=
getInt
(
INDEX_SEARCH_MAX_RESULT_SET_SIZE
,
Integer
.
MAX_VALUE
);
clearPropertyDirect
(
INDEX_SEARCH_MAX_RESULT_SET_SIZE
);
addPropertyDirect
(
INDEX_SEARCH_MAX_RESULT_SET_SIZE
,
indexMaxResultSetSize
);
LOG
.
info
(
"Setting "
+
INDEX_SEARCH_MAX_RESULT_SET_SIZE
+
" = "
+
indexMaxResultSetSize
);
setDbCacheConfDefaults
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment