Skip to content

Commit 408c800

Browse files
committed
MB-47766 Change maximum analytics replicas to 3
The real maximum for analytics replicas has been chosen to be 3. This change enforces it. Change-Id: If66c40a8bac23cf825374d99063319a80b02bd23 Reviewed-on: http://review.couchbase.org/c/ns_server/+/159434 Well-Formed: Build Bot <[email protected]> Tested-by: Steve Watanabe <[email protected]> Reviewed-by: <[email protected]>
1 parent e27a48b commit 408c800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/menelaus_web_analytics.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ get_settings() ->
2222

2323
settings_post_validators() ->
2424
[validator:has_params(_),
25-
validator:integer(numReplicas, 0, 16, _),
25+
validator:integer(numReplicas, 0, 3, _),
2626
validator:unsupported(_)].
2727

2828
update_settings(Key, Value) ->

0 commit comments

Comments
 (0)