summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Klishin <mklishin@pivotal.io>2015-08-26 16:50:10 +0300
committerMichael Klishin <mklishin@pivotal.io>2015-08-26 16:50:10 +0300
commit9708dc8e2144f6217a662ed156b014fd301704ab (patch)
treeab863e37c2ae957ec31a93ffbfa248858dc4b4ff
parentbad018b1a307528e9a18ce2c8eabac20f18a1a96 (diff)
downloadrabbitmq-server-git-9708dc8e2144f6217a662ed156b014fd301704ab.tar.gz
Restore a comment
-rw-r--r--src/rabbit_queue_index.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rabbit_queue_index.erl b/src/rabbit_queue_index.erl
index 3687a04ccd..9bd917ee96 100644
--- a/src/rabbit_queue_index.erl
+++ b/src/rabbit_queue_index.erl
@@ -127,6 +127,7 @@
%% binary generation/matching with constant vs variable lengths.
-define(REL_SEQ_BITS, 14).
+%% calculated as trunc(math:pow(2,?REL_SEQ_BITS))).
-define(SEGMENT_ENTRY_COUNT, 16384).
%% seq only is binary 01 followed by 14 bits of rel seq id