Skip to content

Commit

Permalink
Adjust index replicas settings to keep consistent with AOS 2.9 (#1325)
Browse files Browse the repository at this point in the history
Signed-off-by: Sicheng Song <[email protected]>
  • Loading branch information
b4sjoo authored Sep 12, 2023
1 parent daaf476 commit ad078ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class MLIndicesHandler {

ClusterService clusterService;
Client client;
private static final Map<String, Object> indexSettings = Map.of("index.auto_expand_replicas", "0-5");
private static final Map<String, Object> indexSettings = Map.of("index.auto_expand_replicas", "0-1");
private static final Map<String, AtomicBoolean> indexMappingUpdated = new HashMap<>();

static {
Expand Down

0 comments on commit ad078ff

Please sign in to comment.