diff options
| author | Matthew Sackman <matthew@rabbitmq.com> | 2010-08-09 17:10:19 +0100 |
|---|---|---|
| committer | Matthew Sackman <matthew@rabbitmq.com> | 2010-08-09 17:10:19 +0100 |
| commit | 41babd9f15696db9dff4c1610fdf650f82a61e3d (patch) | |
| tree | 5eaebe34bed70519a48aa2380ede20e4fe84e21a /src | |
| parent | c07d794336faaf65da3a3f3cc8e00150cb6fe95e (diff) | |
| download | rabbitmq-server-git-41babd9f15696db9dff4c1610fdf650f82a61e3d.tar.gz | |
Arbitrarily decide to make the channel_sup_sup the very first thing that gets started and thus the last that gets stopped
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_connection_sup.erl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rabbit_connection_sup.erl b/src/rabbit_connection_sup.erl index f097f80a77..5993044c5e 100644 --- a/src/rabbit_connection_sup.erl +++ b/src/rabbit_connection_sup.erl @@ -41,16 +41,16 @@ start_link() -> {ok, SupPid} = supervisor2:start_link(?MODULE, []), - {ok, Collector} = - supervisor2:start_child( - SupPid, - {collector, {rabbit_queue_collector, start_link, []}, - intrinsic, ?MAX_WAIT, worker, [rabbit_queue_collector]}), {ok, ChannelSupSupPid} = supervisor2:start_child( SupPid, {channel_sup_sup, {rabbit_channel_sup_sup, start_link, []}, intrinsic, infinity, supervisor, [rabbit_channel_sup_sup]}), + {ok, Collector} = + supervisor2:start_child( + SupPid, + {collector, {rabbit_queue_collector, start_link, []}, + intrinsic, ?MAX_WAIT, worker, [rabbit_queue_collector]}), {ok, _ReaderPid} = supervisor2:start_child( SupPid, |
