diff options
author | Loïc Hoguin <[email protected]> | 2011-10-28 18:09:09 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-10-28 18:09:09 +0200 |
commit | d9da5334d251c95273fd20475f18d19fd3eb37ef (patch) | |
tree | fd81bf79c0eff2fd31f7c2d30ee20ab8f185dcc6 /src/cowboy_listener_sup.erl | |
parent | 4cd825923f6045500841715413b46efc2ca26d82 (diff) | |
parent | 1af77d45e3452130742bde5be1c5271bfd80cfbf (diff) | |
download | cowboy-d9da5334d251c95273fd20475f18d19fd3eb37ef.tar.gz cowboy-d9da5334d251c95273fd20475f18d19fd3eb37ef.tar.bz2 cowboy-d9da5334d251c95273fd20475f18d19fd3eb37ef.zip |
Merge branch 'supervisor-relup-fix' of https://github.com/smarkets/cowboy
Diffstat (limited to 'src/cowboy_listener_sup.erl')
-rw-r--r-- | src/cowboy_listener_sup.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_listener_sup.erl b/src/cowboy_listener_sup.erl index adf5262..aca2b0b 100644 --- a/src/cowboy_listener_sup.erl +++ b/src/cowboy_listener_sup.erl @@ -27,7 +27,7 @@ start_link(NbAcceptors, Transport, TransOpts, Protocol, ProtoOpts) -> {ok, SupPid} = supervisor:start_link(?MODULE, []), {ok, ListenerPid} = supervisor:start_child(SupPid, {cowboy_listener, {cowboy_listener, start_link, []}, - permanent, 5000, worker, dynamic}), + permanent, 5000, worker, [cowboy_listener]}), {ok, ReqsPid} = supervisor:start_child(SupPid, {cowboy_requests_sup, {cowboy_requests_sup, start_link, []}, permanent, 5000, supervisor, [cowboy_requests_sup]}), |