diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2010-08-27 14:16:17 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2010-08-27 14:16:17 +0100 |
commit | ccaa0ea34f961d5ef3a4eae1485e6b969de5dfc9 (patch) | |
tree | 90c8c0e1f31529ceff8873d0e900fefab3b3c754 | |
parent | 7cf464605d7616d8c8dc551f619ef52d97bc14de (diff) | |
download | rabbitmq-server-bug23197.tar.gz |
prevent normal heartbeater termination from tearing down the readerbug23197
-rw-r--r-- | src/rabbit_connection_sup.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_connection_sup.erl b/src/rabbit_connection_sup.erl index 69e21d73..b3821d3b 100644 --- a/src/rabbit_connection_sup.erl +++ b/src/rabbit_connection_sup.erl @@ -88,12 +88,12 @@ start_heartbeat_fun(SupPid) -> SupPid, {heartbeat_sender, {rabbit_heartbeat, start_heartbeat_sender, [Parent, Sock, TimeoutSec]}, - intrinsic, ?MAX_WAIT, worker, [rabbit_heartbeat]}), + transient, ?MAX_WAIT, worker, [rabbit_heartbeat]}), {ok, Receiver} = supervisor2:start_child( SupPid, {heartbeat_receiver, {rabbit_heartbeat, start_heartbeat_receiver, [Parent, Sock, TimeoutSec]}, - intrinsic, ?MAX_WAIT, worker, [rabbit_heartbeat]}), + transient, ?MAX_WAIT, worker, [rabbit_heartbeat]}), {Sender, Receiver} end. |