diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2010-11-11 14:19:55 +0000 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2010-11-11 14:19:55 +0000 |
commit | 5516d4368f179aa3cdaf6eec63f5645c8a095b02 (patch) | |
tree | c05b06878427ff1c45b9b6e80250c8b62f803202 /src/rabbit_connection_sup.erl | |
parent | 0b0be9e6f29b8a03b4aa4248ad78ab9e3066e62c (diff) | |
download | rabbitmq-server-5516d4368f179aa3cdaf6eec63f5645c8a095b02.tar.gz |
Switch spawn order of channelsupsup and queue_collector within connection_supbug23495
Diffstat (limited to 'src/rabbit_connection_sup.erl')
-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 b3821d3b..495baeb2 100644 --- a/src/rabbit_connection_sup.erl +++ b/src/rabbit_connection_sup.erl @@ -52,16 +52,16 @@ start_link() -> {ok, SupPid} = supervisor2:start_link(?MODULE, []), - {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, ChannelSupSupPid} = + supervisor2:start_child( + SupPid, + {channel_sup_sup, {rabbit_channel_sup_sup, start_link, []}, + intrinsic, infinity, supervisor, [rabbit_channel_sup_sup]}), {ok, ReaderPid} = supervisor2:start_child( SupPid, |