diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2013-10-14 13:49:36 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2013-10-14 13:49:36 +0100 |
commit | 8a167cc42cf7ad9ba8cac09668ccb79eed484227 (patch) | |
tree | ff2ff6c1d61f8d39e0185551de3853600dfed833 | |
parent | ba1d17ffe981e78a122fa44b3d664d5ee52cd3ee (diff) | |
download | rabbitmq-server-8a167cc42cf7ad9ba8cac09668ccb79eed484227.tar.gz |
Consistencybug25404
-rw-r--r-- | src/rabbit_connection_sup.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_connection_sup.erl b/src/rabbit_connection_sup.erl index ebdab666..9ed5dc77 100644 --- a/src/rabbit_connection_sup.erl +++ b/src/rabbit_connection_sup.erl @@ -47,15 +47,15 @@ start_link() -> %% the queue collector process, since these must not be siblings of the %% reader due to the potential for deadlock if they are added/restarted %% whilst the supervision tree is shutting down. - {ok, IntermediateSup} = + {ok, HelperSup} = supervisor2:start_child( SupPid, - {channel_sup3, {rabbit_connection_helper_sup, start_link, []}, + {helper_sup, {rabbit_connection_helper_sup, start_link, []}, intrinsic, infinity, supervisor, [rabbit_connection_helper_sup]}), {ok, ReaderPid} = supervisor2:start_child( SupPid, - {reader, {rabbit_reader, start_link, [IntermediateSup]}, + {reader, {rabbit_reader, start_link, [HelperSup]}, intrinsic, ?MAX_WAIT, worker, [rabbit_reader]}), {ok, SupPid, ReaderPid}. |