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