summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-03-06 14:34:12 +0000
committerSimon MacMullen <simon@rabbitmq.com>2014-03-06 14:34:12 +0000
commit22873bc8e09e73c9cd95204b09f5d554d94d9032 (patch)
tree6d3a29e01de76a64506657ffb48fac40a93a9804 /src
parent5f53cd7b8c0b40c1da3bb31ad9acd5723b645996 (diff)
downloadrabbitmq-server-git-22873bc8e09e73c9cd95204b09f5d554d94d9032.tar.gz
Rename info items
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_channel.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index 6421a7655f..2a6b01f7d3 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -53,7 +53,7 @@
messages_uncommitted,
acks_uncommitted,
prefetch_count,
- consumer_prefetch_count,
+ global_prefetch_count,
state]).
-define(CREATION_EVENT_KEYS,
@@ -1611,8 +1611,8 @@ i(acks_uncommitted, #ch{tx = {_Msgs, Acks}}) -> ack_len(Acks);
i(acks_uncommitted, #ch{}) -> 0;
i(state, #ch{state = running}) -> credit_flow:state();
i(state, #ch{state = State}) -> State;
-i(consumer_prefetch_count, #ch{consumer_prefetch = C}) -> C;
-i(prefetch_count, #ch{limiter = Limiter}) ->
+i(prefetch_count, #ch{consumer_prefetch = C}) -> C;
+i(global_prefetch_count, #ch{limiter = Limiter}) ->
rabbit_limiter:get_prefetch_limit(Limiter);
i(Item, _) ->
throw({bad_argument, Item}).