diff --git a/apps/iot/src/iot_app.erl b/apps/iot/src/iot_app.erl index a647c10..c771355 100644 --- a/apps/iot/src/iot_app.erl +++ b/apps/iot/src/iot_app.erl @@ -20,7 +20,7 @@ start(_StartType, _StartArgs) -> %% 加速内存的回收 erlang:system_flag(fullsweep_after, 16), - %start_http_server(), + start_http_server(), iot_sup:start_link(). diff --git a/rebar.lock b/rebar.lock index 06e78cf..fc8b7b9 100644 --- a/rebar.lock +++ b/rebar.lock @@ -44,7 +44,7 @@ 0}, {<<"ranch">>, {git,"https://github.com/ninenines/ranch", - {ref,"6bbc8431d513d9bbed7817bc1bcb3b17ef26cb35"}}, + {ref,"9b8ed47d789412b0021bfc1f94f1c17c387c721c"}}, 1}, {<<"ssl_verify_fun">>,{pkg,<<"ssl_verify_fun">>,<<"1.1.6">>},1}, {<<"sync">>,