summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-11-19 18:16:49 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2012-11-19 18:16:49 +0000
commit4885f41e4f37537f8fcf5c33ccdb964fcdc5bf1a (patch)
treeb12e639b6bcea08a8d27c20126648d7eb905832e
parent4655ba493b26a70075944ade32d764f2f32cffa7 (diff)
downloadrabbitmq-server-4885f41e4f37537f8fcf5c33ccdb964fcdc5bf1a.tar.gz
format mq slave message queue
to facilitate debugging
-rw-r--r--src/rabbit_mirror_queue_slave.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rabbit_mirror_queue_slave.erl b/src/rabbit_mirror_queue_slave.erl
index 1ba1420f..bea4758c 100644
--- a/src/rabbit_mirror_queue_slave.erl
+++ b/src/rabbit_mirror_queue_slave.erl
@@ -28,7 +28,7 @@
-export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2,
code_change/3, handle_pre_hibernate/1, prioritise_call/3,
- prioritise_cast/2, prioritise_info/2]).
+ prioritise_cast/2, prioritise_info/2, format_message_queue/2]).
-export([joined/2, members_changed/3, handle_msg/3]).
@@ -329,6 +329,8 @@ prioritise_info(Msg, _State) ->
_ -> 0
end.
+format_message_queue(Opt, MQ) -> rabbit_misc:format_message_queue(Opt, MQ).
+
%% ---------------------------------------------------------------------------
%% GM
%% ---------------------------------------------------------------------------