Skip to content

Commit

Permalink
Merge pull request basho#209 from basho/dr/merge_2.0_to_develop
Browse files Browse the repository at this point in the history
merge 2.0 to develop for increase in ERL_MAX_PORTS (+Q) - (RIAK-2332)

Reviewed-by: mrallen1
  • Loading branch information
borshop committed Feb 3, 2016
2 parents 68d54f6 + 8b8151e commit a463682
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion priv/erlang_vm.schema
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
%% Valid range is 1024-134217727
{mapping, "erlang.max_ports",
cuttlefish:otp("R16", "vm_args.+Q", "vm_args.-env ERL_MAX_PORTS"), [
{default, 65536},
{default, 262144},
{datatype, integer},
{validators, ["range4ports"]}
]}.
Expand Down
2 changes: 1 addition & 1 deletion test/erlang_vm_schema_tests.erl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ basic_schema_test() ->
cuttlefish_unit:assert_not_configured(Config, "kernel.inet_dist_listen_max"),
case erlang:system_info(otp_release) of
[$R, $1, N|_] when N >= $6 ->
cuttlefish_unit:assert_config(Config, "vm_args.+Q", 65536),
cuttlefish_unit:assert_config(Config, "vm_args.+Q", 262144),
cuttlefish_unit:assert_config(Config, "vm_args.+e", 256000);
_ ->
cuttlefish_unit:assert_config(Config, "vm_args.-env ERL_MAX_PORTS", 65536),
Expand Down

0 comments on commit a463682

Please sign in to comment.