From 812ed100ed8fc1c72e93d828e3db31fe7a8c96ee Mon Sep 17 00:00:00 2001 From: anlicheng <244108715@qq.com> Date: Mon, 25 Dec 2023 15:17:07 +0800 Subject: [PATCH] fix sup --- apps/iot/src/iot_sup.erl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/iot/src/iot_sup.erl b/apps/iot/src/iot_sup.erl index a0062df..e0b76cf 100644 --- a/apps/iot/src/iot_sup.erl +++ b/apps/iot/src/iot_sup.erl @@ -73,14 +73,14 @@ init([]) -> modules => ['iot_zd_endpoint'] }, - %#{ - % id => 'iot_zd_consumer', - % start => {'iot_zd_consumer', start_link, []}, - % restart => permanent, - % shutdown => 2000, - % type => worker, - % modules => ['iot_zd_consumer'] - %}, + #{ + id => 'iot_zd_consumer', + start => {'iot_zd_consumer', start_link, []}, + restart => permanent, + shutdown => 2000, + type => worker, + modules => ['iot_zd_consumer'] + }, #{ id => 'iot_jinzhi_endpoint',