This commit is contained in:
anlicheng 2025-04-18 15:35:17 +08:00
parent ff91dfe950
commit 3329ae88af
4 changed files with 8 additions and 3 deletions

View File

@ -26,9 +26,7 @@ start_link() ->
%% type => worker(), % optional
%% modules => modules()} % optional
init([]) ->
SupFlags = #{strategy => one_for_all,
intensity => 0,
period => 1},
SupFlags = #{strategy => one_for_one, intensity => 1000, period => 3600},
ChildSpecs = [],
{ok, {SupFlags, ChildSpecs}}.

1
rebar.lock Normal file
View File

@ -0,0 +1 @@
[].

BIN
rebar3 Executable file

Binary file not shown.

6
run Executable file
View File

@ -0,0 +1,6 @@
#! /bin/sh
./rebar3 compile
./rebar3 release
_build/default/rel/efka/bin/efka console