-
Notifications
You must be signed in to change notification settings - Fork 10
Cleaning up settings name, Stats URL and redacting node details #35
Conversation
Codecov Report
@@ Coverage Diff @@
## master #35 +/- ##
============================================
- Coverage 82.75% 82.63% -0.13%
+ Complexity 545 541 -4
============================================
Files 60 60
Lines 2053 2038 -15
Branches 149 145 -4
============================================
- Hits 1699 1684 -15
Misses 245 245
Partials 109 109
Continue to review full report at Codecov.
|
@@ -40,7 +40,7 @@ | |||
private volatile int maxRunningSearches; | |||
public static final int DEFAULT_MAX_RUNNING_SEARCHES = 20; | |||
public static final Setting<Integer> MAX_RUNNING_SEARCHES_SETTING = Setting.intSetting( | |||
"opendistro_asynchronous_search.max_running_searches", DEFAULT_MAX_RUNNING_SEARCHES, 0, Setting.Property.Dynamic, | |||
"opendistro.asynchronous_search.max_running_searches", DEFAULT_MAX_RUNNING_SEARCHES, 0, Setting.Property.Dynamic, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we rename this to node.max_running_searches
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
node_concurrent_running_searches
to follow other setting conventions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need to update README
"opendistro_asynchronous_search.max_running_searches", DEFAULT_MAX_RUNNING_SEARCHES, 0, Setting.Property.Dynamic, | ||
Setting.Property.NodeScope); | ||
private volatile int nodeConcurrentRunningSearches; | ||
public static final int NODE_CONCURRENT_RUNNING_SEARCHES = 20; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add something to variable name to signify this is max allowed per node ?
opendistro.asynchronous_search
stats
tostats
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.