Skip to content

Commit a463682

Browse files
committed
Merge pull request #209 from basho/dr/merge_2.0_to_develop
merge 2.0 to develop for increase in ERL_MAX_PORTS (+Q) - (RIAK-2332) Reviewed-by: mrallen1
2 parents 68d54f6 + 8b8151e commit a463682

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

priv/erlang_vm.schema

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
%% Valid range is 1024-134217727
163163
{mapping, "erlang.max_ports",
164164
cuttlefish:otp("R16", "vm_args.+Q", "vm_args.-env ERL_MAX_PORTS"), [
165-
{default, 65536},
165+
{default, 262144},
166166
{datatype, integer},
167167
{validators, ["range4ports"]}
168168
]}.

test/erlang_vm_schema_tests.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ basic_schema_test() ->
3030
cuttlefish_unit:assert_not_configured(Config, "kernel.inet_dist_listen_max"),
3131
case erlang:system_info(otp_release) of
3232
[$R, $1, N|_] when N >= $6 ->
33-
cuttlefish_unit:assert_config(Config, "vm_args.+Q", 65536),
33+
cuttlefish_unit:assert_config(Config, "vm_args.+Q", 262144),
3434
cuttlefish_unit:assert_config(Config, "vm_args.+e", 256000);
3535
_ ->
3636
cuttlefish_unit:assert_config(Config, "vm_args.-env ERL_MAX_PORTS", 65536),

0 commit comments

Comments
 (0)