summaryrefslogtreecommitdiff
path: root/src/rabbit_queue_index.erl
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2011-03-04 19:52:34 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2011-03-04 19:52:34 +0000
commit78b753aaf006c397c113b810ef8195a6fc1f927b (patch)
tree89ac175abc91e6048878bcddf469c738546db26a /src/rabbit_queue_index.erl
parent1076e2220865be678888d3ec1fd2799bdb55da60 (diff)
parente80b3162f252dcda613583ef2e6b271b0c5c4deb (diff)
downloadrabbitmq-server-78b753aaf006c397c113b810ef8195a6fc1f927b.tar.gz
merge default into bug23914
Diffstat (limited to 'src/rabbit_queue_index.erl')
-rw-r--r--src/rabbit_queue_index.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_queue_index.erl b/src/rabbit_queue_index.erl
index a4984114..bb63f0f1 100644
--- a/src/rabbit_queue_index.erl
+++ b/src/rabbit_queue_index.erl
@@ -145,8 +145,8 @@
%% 1 publish, 1 deliver, 1 ack per msg
-define(SEGMENT_TOTAL_SIZE, ?SEGMENT_ENTRY_COUNT *
- (?PUBLISH_RECORD_LENGTH_BYTES +
- (2 * ?REL_SEQ_ONLY_ENTRY_LENGTH_BYTES))).
+ (?PUBLISH_RECORD_LENGTH_BYTES +
+ (2 * ?REL_SEQ_ONLY_ENTRY_LENGTH_BYTES))).
%% ---- misc ----
@@ -177,7 +177,7 @@
path :: file:filename(),
journal_entries :: array(),
unacked :: non_neg_integer()
- })).
+ })).
-type(seq_id() :: integer()).
-type(seg_dict() :: {dict(), [segment()]}).
-type(on_sync_fun() :: fun ((gb_set()) -> ok)).