This commit is contained in:
anlicheng 2025-04-30 11:09:55 +08:00
parent a77efa9d11
commit 07c631d658
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@
%%% @end
%%% Created : 18. 4 2025 16:50
%%%-------------------------------------------------------------------
-module(efka_server).
-module(efka_micro_service).
-author("anlicheng").
-behaviour(gen_server).

View File

@ -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']
}.