From 2ca06f97fe91ed531700d829f9639e0042fa626b Mon Sep 17 00:00:00 2001 From: anlicheng Date: Mon, 25 Sep 2023 16:57:47 +0800 Subject: [PATCH] fix --- apps/iot/src/iot_app.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/iot/src/iot_app.erl b/apps/iot/src/iot_app.erl index 2cbe8b9..4932150 100644 --- a/apps/iot/src/iot_app.erl +++ b/apps/iot/src/iot_app.erl @@ -16,9 +16,10 @@ start(_StartType, _StartArgs) -> %% 加速内存的回收 erlang:system_flag(fullsweep_after, 16), - {ok, SupPid} = iot_sup:start_link(), %% 启动数据库 start_mnesia(), + + {ok, SupPid} = iot_sup:start_link(), %% 启动udp服务 start_udp_server(), %% 启动http服务