diff options
Diffstat (limited to 'src/rebar3.erl')
-rw-r--r-- | src/rebar3.erl | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/rebar3.erl b/src/rebar3.erl index 5c0559f..c501709 100644 --- a/src/rebar3.erl +++ b/src/rebar3.erl @@ -272,4 +272,14 @@ start_and_load_apps() -> application:start(asn1), application:start(public_key), application:start(ssl), - inets:start(). + inets:start(), + inets:start(httpc, [{profile, hex}]), + http_opts(). + +http_opts() -> + Opts = [{max_sessions, 4}, + {max_keep_alive_length, 4}, + {keep_alive_timeout, 120000}, + {max_pipeline_length, 4}, + {pipeline_timeout, 60000}], + httpc:set_options(Opts, hex). |