summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2013-01-28 16:17:44 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2013-01-28 16:17:44 +0000
commit4d69fda342a85fb5e458128f6e01db1feba1fc00 (patch)
tree48879d6c0a626c2bff875828ac3a1d48ebbd480c
parent471c6b1c64dfa9dbb4466f23b404b977e5a88f8e (diff)
downloadrabbitmq-server-4d69fda342a85fb5e458128f6e01db1feba1fc00.tar.gz
ignore 'invoke' on different modulebug25422
rather than exploding.
-rw-r--r--src/rabbit_variable_queue.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_variable_queue.erl b/src/rabbit_variable_queue.erl
index eb236f06..1acc9ef0 100644
--- a/src/rabbit_variable_queue.erl
+++ b/src/rabbit_variable_queue.erl
@@ -809,7 +809,8 @@ status(#vqstate {
{avg_ack_ingress_rate, AvgAckIngressRate},
{avg_ack_egress_rate , AvgAckEgressRate} ].
-invoke(?MODULE, Fun, State) -> Fun(?MODULE, State).
+invoke(?MODULE, Fun, State) -> Fun(?MODULE, State);
+invoke( _, _, State) -> State.
is_duplicate(_Msg, State) -> {false, State}.