summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkjnilsson <knilsson@pivotal.io>2020-09-22 09:57:03 +0100
committerkjnilsson <knilsson@pivotal.io>2020-09-22 09:57:56 +0100
commitd2e61d4b6a693defa5c29d62c8c9f3b2346e318d (patch)
tree11369bff0b66e8aaa00ec7de6edbf9b326cdb3f7
parent6a43f14c4ece18f4a29dcfa87a7335ac1eee060c (diff)
downloadrabbitmq-server-git-d2e61d4b6a693defa5c29d62c8c9f3b2346e318d.tar.gz
rabbit_fifo: type the messages lqueueqq-peek-command
To pass dialyzer
-rw-r--r--src/rabbit_fifo.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_fifo.hrl b/src/rabbit_fifo.hrl
index 3329915125..4bd88fa705 100644
--- a/src/rabbit_fifo.hrl
+++ b/src/rabbit_fifo.hrl
@@ -144,7 +144,7 @@
-record(rabbit_fifo,
{cfg :: #cfg{},
% unassigned messages
- messages = lqueue:new() :: lqueue:lqueue(),
+ messages = lqueue:new() :: lqueue:lqueue({msg_in_id(), indexed_msg()}),
% defines the next message id
next_msg_num = 1 :: msg_in_id(),
% queue of returned msg_in_ids - when checking out it picks from