diff --git a/rebar.config b/rebar.config index 69fd8be..e740950 100644 --- a/rebar.config +++ b/rebar.config @@ -24,7 +24,6 @@ {escript_name, emqtt_bench}. {escript_main_app, emqtt_bench}. -{escript_incl_apps, [prometheus, quantile_estimator, cowboy]}. {escript_emu_args, "%%! -smp true +K true +A 16 +P 16000000 +Muacnl 0 +hms 64 -env ERL_MAX_PORTS 16000000 -env ERTS_MAX_PORTS 16000000\n"}. {escript_shebang, "#!/usr/bin/env escript\n"}. {provider_hooks, [{post, [{compile, escriptize}]}]}. diff --git a/rebar.config.script b/rebar.config.script index e186a4a..de8b3b3 100644 --- a/rebar.config.script +++ b/rebar.config.script @@ -59,8 +59,11 @@ ExtraDeps = fun(C) -> end, NewConfig = [ {escript_incl_apps, - [emqtt_bench | - [ quicer || IsQuicSupp ] + [emqtt_bench, + prometheus, + quantile_estimator, + cowboy + | [ quicer || IsQuicSupp ] ]} , Profiles | ExtraDeps(CONFIG)],