diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2013-01-28 16:17:44 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2013-01-28 16:17:44 +0000 |
commit | 4d69fda342a85fb5e458128f6e01db1feba1fc00 (patch) | |
tree | 48879d6c0a626c2bff875828ac3a1d48ebbd480c | |
parent | 471c6b1c64dfa9dbb4466f23b404b977e5a88f8e (diff) | |
download | rabbitmq-server-4d69fda342a85fb5e458128f6e01db1feba1fc00.tar.gz |
ignore 'invoke' on different modulebug25422
rather than exploding.
-rw-r--r-- | src/rabbit_variable_queue.erl | 3 |
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}. |