fix supervisor

This commit is contained in:
anlicheng 2026-01-26 22:09:26 +08:00
parent d272258312
commit a4efafd484

View File

@ -55,6 +55,15 @@ init([]) ->
modules => ['sdlan_network_sup']
},
#{
id => sdlan_register_worker_sup,
start => {sdlan_register_worker_sup, start_link, []},
restart => permanent,
shutdown => 2000,
type => supervisor,
modules => ['sdlan_register_worker_sup']
},
#{
id => sdlan_stun_sup,
start => {sdlan_stun_sup, start_link, []},