summaryrefslogtreecommitdiff
path: root/src
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
commitcb898760b39aaf0d31a0db8ecc9368aac62daceb (patch)
treef1c1db66f92f0a3e7ceb269a176ba4a22d3758c8 /src
parente1eff8737f69880efd00901b8225802c26f15d3b (diff)
downloadrabbitmq-server-git-cb898760b39aaf0d31a0db8ecc9368aac62daceb.tar.gz
cosmetic: ensure_gm_heartbeat is not a gm callback
Diffstat (limited to 'src')
-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 c379cdcad5..ee64b5a856 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).