fix
This commit is contained in:
parent
cc10502a58
commit
2ca06f97fe
@ -16,9 +16,10 @@ start(_StartType, _StartArgs) ->
|
|||||||
%% 加速内存的回收
|
%% 加速内存的回收
|
||||||
erlang:system_flag(fullsweep_after, 16),
|
erlang:system_flag(fullsweep_after, 16),
|
||||||
|
|
||||||
{ok, SupPid} = iot_sup:start_link(),
|
|
||||||
%% 启动数据库
|
%% 启动数据库
|
||||||
start_mnesia(),
|
start_mnesia(),
|
||||||
|
|
||||||
|
{ok, SupPid} = iot_sup:start_link(),
|
||||||
%% 启动udp服务
|
%% 启动udp服务
|
||||||
start_udp_server(),
|
start_udp_server(),
|
||||||
%% 启动http服务
|
%% 启动http服务
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user