diff --git a/apps/efka/src/efka_sup.erl b/apps/efka/src/efka_sup.erl index 94b3dab..4da0fe5 100644 --- a/apps/efka/src/efka_sup.erl +++ b/apps/efka/src/efka_sup.erl @@ -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}}. diff --git a/rebar.lock b/rebar.lock new file mode 100644 index 0000000..57afcca --- /dev/null +++ b/rebar.lock @@ -0,0 +1 @@ +[]. diff --git a/rebar3 b/rebar3 new file mode 100755 index 0000000..762dc0b Binary files /dev/null and b/rebar3 differ diff --git a/run b/run new file mode 100755 index 0000000..2721e3a --- /dev/null +++ b/run @@ -0,0 +1,6 @@ +#! /bin/sh + +./rebar3 compile +./rebar3 release + +_build/default/rel/efka/bin/efka console