diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-09-17 14:21:47 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-09-17 14:21:47 +0100 |
commit | b57a09afb70722bab3ae6b0d22cd62741307e329 (patch) | |
tree | bbeba9d3e3b29dc7613123e5094e5214e9197b40 | |
parent | 7114f0e0b345d9b165fe16c7917ea8a7dabdebb5 (diff) | |
download | rabbitmq-server-b57a09afb70722bab3ae6b0d22cd62741307e329.tar.gz |
Also since we are here, fix old-Erlang behaviour_info/1 that got out of sync.
-rw-r--r-- | src/rabbit_backing_queue.erl | 4 | ||||
-rw-r--r-- | src/rabbit_runtime_parameter.erl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_backing_queue.erl b/src/rabbit_backing_queue.erl index b4bdb0af..4ce133c3 100644 --- a/src/rabbit_backing_queue.erl +++ b/src/rabbit_backing_queue.erl @@ -255,8 +255,8 @@ behaviour_info(callbacks) -> {fetch, 2}, {ack, 2}, {requeue, 2}, {ackfold, 4}, {fold, 3}, {len, 1}, {is_empty, 1}, {depth, 1}, {set_ram_duration_target, 2}, {ram_duration, 1}, {needs_timeout, 1}, {timeout, 1}, - {handle_pre_hibernate, 1}, {resume, 1}, {msg_rates, 1}, {info_keys, 0}, - {infos, 2}, {invoke, 3}, {is_duplicate, 2}] ; + {handle_pre_hibernate, 1}, {resume, 1}, {msg_rates, 1}, + {info, 2}, {invoke, 3}, {is_duplicate, 2}] ; behaviour_info(_Other) -> undefined. diff --git a/src/rabbit_runtime_parameter.erl b/src/rabbit_runtime_parameter.erl index 3e81ea74..3a5d9606 100644 --- a/src/rabbit_runtime_parameter.erl +++ b/src/rabbit_runtime_parameter.erl @@ -32,7 +32,7 @@ behaviour_info(callbacks) -> [ - {validate, 4}, + {validate, 5}, {notify, 4}, {notify_clear, 3} ]; |