Skip to content

Commit 133d261

Browse files
authored
Update rabbit_queue_index.erl
bug: fix the wrong lists operation in pre_publish
1 parent 501334a commit 133d261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbit_queue_index.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ pre_publish(MsgOrId, SeqId, MsgProps, IsPersistent, IsDelivered, JournalSizeHint
339339
false -> ?PUB_TRANS_JPREFIX
340340
end):?JPREFIX_BITS,
341341
SeqId:?SEQ_BITS, Bin/binary,
342-
(size(MsgBin)):?EMBEDDED_SIZE_BITS>>, MsgBin], PPC],
342+
(size(MsgBin)):?EMBEDDED_SIZE_BITS>>, MsgBin] | PPC],
343343

344344
DC1 =
345345
case IsDelivered of

0 commit comments

Comments
 (0)