From ace1b832f18b38dac3c77b98570a1748e6de5950 Mon Sep 17 00:00:00 2001 From: anlicheng <244108715@qq.com> Date: Wed, 11 Mar 2026 15:37:45 +0800 Subject: [PATCH] fix --- apps/sdlan/src/sdlan_sup.erl | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/apps/sdlan/src/sdlan_sup.erl b/apps/sdlan/src/sdlan_sup.erl index fa639d6..c4edd9a 100644 --- a/apps/sdlan/src/sdlan_sup.erl +++ b/apps/sdlan/src/sdlan_sup.erl @@ -29,14 +29,15 @@ init([]) -> SupFlags = #{strategy => one_for_one, intensity => 1000, period => 3600}, Specs = [ - #{ - id => dns_proxy_sup, - start => {dns_proxy_sup, start_link, []}, - restart => permanent, - shutdown => 2000, - type => supervisor, - modules => ['dns_proxy_sup'] - }, + %% 暂时注释掉dns的逻辑 + % #{ + % id => dns_proxy_sup, + % start => {dns_proxy_sup, start_link, []}, + % restart => permanent, + % shutdown => 2000, + % type => supervisor, + % modules => ['dns_proxy_sup'] + % }, #{ id => sdlan_network_coordinator, start => {sdlan_network_coordinator, start_link, []},