summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2009-04-21 12:56:36 +0100
committerMatthew Sackman <matthew@lshift.net>2009-04-21 12:56:36 +0100
commit7a35bdd921e3b24d2e1919b9e6f2023e1c7ea37c (patch)
tree88648da1a96335aec26065500e6c976c65ecd374 /include
parent364fa5017fa13cd348b03742341532b18deac079 (diff)
downloadrabbitmq-server-git-7a35bdd921e3b24d2e1919b9e6f2023e1c7ea37c.tar.gz
Introduced sequence IDs internally. Sadly, because of the need to lookup seqids for each msgid in acks, acks are now very slow.
Thus I'm going to alter the API so that deliver returns the seqid and then ack takes [seqid]. This should make things faster.
Diffstat (limited to 'include')
-rw-r--r--include/rabbit.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 4f06b8335d..44e1368460 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -64,7 +64,7 @@
-record(basic_message, {exchange_name, routing_key, content, persistent_key}).
--record(dq_msg_loc, {msg_id_and_queue, is_delivered}).
+-record(dq_msg_loc, {queue_and_seq_id, is_delivered, msg_id}).
%%----------------------------------------------------------------------------