fix
This commit is contained in:
parent
a77efa9d11
commit
07c631d658
@ -7,7 +7,7 @@
|
||||
%%% @end
|
||||
%%% Created : 18. 4月 2025 16:50
|
||||
%%%-------------------------------------------------------------------
|
||||
-module(efka_server).
|
||||
-module(efka_micro_service).
|
||||
-author("anlicheng").
|
||||
|
||||
-behaviour(gen_server).
|
||||
@ -6,7 +6,7 @@
|
||||
%%% @end
|
||||
%%% Created : 18. 4月 2025 16:42
|
||||
%%%-------------------------------------------------------------------
|
||||
-module(efka_server_sup).
|
||||
-module(efka_micro_service_sup).
|
||||
-author("anlicheng").
|
||||
|
||||
-behaviour(supervisor).
|
||||
@ -73,9 +73,9 @@ child_spec(ServerId) when is_binary(ServerId) ->
|
||||
Name = efka_server:get_name(ServerId),
|
||||
#{
|
||||
id => Name,
|
||||
start => {efka_server, start_link, [Name, ServerId]},
|
||||
start => {efka_micro_service, start_link, [Name, ServerId]},
|
||||
restart => permanent,
|
||||
shutdown => 2000,
|
||||
type => worker,
|
||||
modules => ['efka_server']
|
||||
modules => ['efka_micro_service']
|
||||
}.
|
||||
Loading…
x
Reference in New Issue
Block a user