summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_amqqueue.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_amqqueue.erl b/src/rabbit_amqqueue.erl
index 3018582f94..59b4d039e7 100644
--- a/src/rabbit_amqqueue.erl
+++ b/src/rabbit_amqqueue.erl
@@ -200,10 +200,10 @@ list(VHostPath) ->
map(VHostPath, F) -> rabbit_misc:filter_exit_map(F, list(VHostPath)).
info(#amqqueue{ pid = QPid }) ->
- gen_server2:call(QPid, info).
+ gen_server2:pcall(QPid, 9, info).
info(#amqqueue{ pid = QPid }, Items) ->
- case gen_server2:call(QPid, {info, Items}) of
+ case gen_server2:pcall(QPid, 9, {info, Items}) of
{ok, Res} -> Res;
{error, Error} -> throw(Error)
end.