summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_channel.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index 8d91670310..a5a5931400 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -707,7 +707,7 @@ handle_method(#'basic.consume'{queue = QueueNameBin,
case dict:find(ActualConsumerTag, CreditMap) of
{ok, {Credit, Count, Drain}} ->
ok = rabbit_amqqueue:inform_limiter(
- self(), Q#amqqueue.pid,
+ Q, self(),
{basic_credit, ActualConsumerTag,
Credit, Count, Drain, false});
error ->