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
commit7d0c8669efeef28a0ce04d37c3991ac887670f8b (patch)
tree48879d6c0a626c2bff875828ac3a1d48ebbd480c
parentb0e579e850496165fed8da9885ba4ed5b777fb80 (diff)
downloadrabbitmq-server-git-7d0c8669efeef28a0ce04d37c3991ac887670f8b.tar.gz
ignore 'invoke' on different module
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 eb236f06fa..1acc9ef0a9 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}.