Skip to content

Commit

Permalink
Restore the default values for intensity and period of a supervisor
Browse files Browse the repository at this point in the history
  • Loading branch information
ajfAfg committed Feb 28, 2024
1 parent f9104d9 commit fbcf8fd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/core/supervisor_specs_constructor.erl
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ convert_sup_specs_from_grouped_dependencies({Strategy, Children} = SupervisionTr
#{name => maps:get(SupervisionTree, Names),
sup_flags =>
#{strategy => Strategy,
% TODO: Give the debug information only when running the benchmark to measure the time to restart gen_servers
intensity => 1000,
period => 1},
intensity => 1,
period => 5},
child_specs => lists:map(fun(Child) -> create_child_spec(Child, Names) end, Children)},
lists:foldl(fun(Child, A) -> convert_sup_specs_from_grouped_dependencies(Child, Names, A)
end,
Expand Down

0 comments on commit fbcf8fd

Please sign in to comment.