Skip to content

Commit

Permalink
register setting
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkyle committed Aug 8, 2023
1 parent 2938673 commit 18a3532
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ public void loadExtensions(ExtensionLoader loader) {
* allocations that can be deployed on a node.
*/
public static final Setting<Integer> ALLOCATED_PROCESSORS_SCALE = Setting.intSetting(
"ml.allocated_processors_scale",
"xpack.ml.allocated_processors_scale",
1,
1,
Property.OperatorDynamic,
Expand Down Expand Up @@ -782,6 +782,7 @@ public static boolean isMlNode(DiscoveryNode node) {
@Override
public List<Setting<?>> getSettings() {
return List.of(
ALLOCATED_PROCESSORS_SCALE,
MachineLearningField.AUTODETECT_PROCESS,
PROCESS_CONNECT_TIMEOUT,
CONCURRENT_JOB_ALLOCATIONS,
Expand Down

0 comments on commit 18a3532

Please sign in to comment.