summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-01-31 13:16:26 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2012-01-31 13:16:26 +0000
commitb67949934360add592a3ff51c6e4c8fc9bbcd99e (patch)
treef1c1db66f92f0a3e7ceb269a176ba4a22d3758c8
parent91f010a796bbfd7f4c48a71f451337cad805e628 (diff)
downloadrabbitmq-server-b67949934360add592a3ff51c6e4c8fc9bbcd99e.tar.gz
cosmetic: ensure_gm_heartbeat is not a gm callbackbug24715
-rw-r--r--src/rabbit_mirror_queue_coordinator.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_mirror_queue_coordinator.erl b/src/rabbit_mirror_queue_coordinator.erl
index c379cdca..ee64b5a8 100644
--- a/src/rabbit_mirror_queue_coordinator.erl
+++ b/src/rabbit_mirror_queue_coordinator.erl
@@ -414,9 +414,6 @@ handle_msg([CPid], _From, {ensure_monitoring, _Pids} = Msg) ->
handle_msg([_CPid], _From, _Msg) ->
ok.
-ensure_gm_heartbeat() ->
- erlang:send_after(?ONE_SECOND, self(), send_gm_heartbeat).
-
%% ---------------------------------------------------------------------------
%% Others
%% ---------------------------------------------------------------------------
@@ -426,3 +423,6 @@ noreply(State) ->
reply(Reply, State) ->
{reply, Reply, State, hibernate}.
+
+ensure_gm_heartbeat() ->
+ erlang:send_after(?ONE_SECOND, self(), send_gm_heartbeat).