Debugging, improved logging, etc.

This commit is contained in:
Ulf Wiger
2026-05-30 13:15:17 +02:00
parent 2ea1966973
commit d7b052a076
14 changed files with 521 additions and 65 deletions
+7 -1
View File
@@ -12,8 +12,15 @@
-export([init/1]).
-export([reset/0]).
-define(SERVER, ?MODULE).
reset() ->
[ok = supervisor:terminate_child(?MODULE, Id)
|| {Id, _, _, _} <- supervisor:which_children(?MODULE)],
ok.
start_link() ->
supervisor:start_link({local, ?SERVER}, ?MODULE, []).
@@ -27,7 +34,6 @@ start_link() ->
%% type => worker(), % optional
%% modules => modules()} % optional
init([]) ->
gm_ctflow_worker:init_reg(),
SupFlags = #{
strategy => simple_one_for_one,
intensity => 0,