Skip to content

Commit

Permalink
Update src/wpool_process_sup.erl
Browse files Browse the repository at this point in the history
Co-Authored-By: michalwski <[email protected]>
  • Loading branch information
elbrujohalcon and michalwski authored Oct 24, 2018
1 parent 1451eea commit e6bd8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wpool_process_sup.erl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ start_link(Parent, Name, Options) ->
init({Name, Options}) ->
Workers = proplists:get_value(workers, Options, 100),
Strategy = proplists:get_value(strategy, Options, {one_for_one, 5, 60}),
_ = maybe_add_event_handler(Options),
maybe_add_event_handler(Options),
{WorkerType, Worker, InitArgs} =
case proplists:get_value(worker_type, Options, gen_server) of
gen_server ->
Expand Down

0 comments on commit e6bd8a3

Please sign in to comment.