summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2010-08-27 14:16:17 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2010-08-27 14:16:17 +0100
commitccaa0ea34f961d5ef3a4eae1485e6b969de5dfc9 (patch)
tree90c8c0e1f31529ceff8873d0e900fefab3b3c754
parent7cf464605d7616d8c8dc551f619ef52d97bc14de (diff)
downloadrabbitmq-server-bug23197.tar.gz
prevent normal heartbeater termination from tearing down the readerbug23197
-rw-r--r--src/rabbit_connection_sup.erl4
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.