Skip to content

Commit

Permalink
Merge pull request #3593 from esl/pool_supervisors
Browse files Browse the repository at this point in the history
Reconfigure supervision flags in pools
  • Loading branch information
chrzaszcz authored Mar 16, 2022
2 parents 21761f4 + 3e7c420 commit 33d44ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/wpool/mongoose_wpool_mgr.erl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@

-ignore_xref([start_link/1]).

-include("mongoose.hrl").
-include("mongoose_logger.hrl").

-record(state, {type, pools, monitors}).
Expand Down
4 changes: 2 additions & 2 deletions src/wpool/mongoose_wpool_sup.erl
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ init([]) ->
#{id := mongoose_wpool:proc_name(),
start := {mongoose_wpool_type_sup, start_link, [mongoose_wpool:pool_type()]},
restart => transient,
shutdown => brutal_kill,
shutdown => infinity,
type => supervisor,
modules => [module()]}.
child_spec(Type) ->
#{id => mongoose_wpool_type_sup:name(Type),
start => {mongoose_wpool_type_sup, start_link, [Type]},
restart => transient,
shutdown => brutal_kill,
shutdown => infinity,
type => supervisor,
modules => [mongoose_wpool_type_sup]
}.
Expand Down

0 comments on commit 33d44ca

Please sign in to comment.