summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Klishin <mklishin@pivotal.io>2015-08-22 00:35:27 +0300
committerMichael Klishin <mklishin@pivotal.io>2015-08-22 00:35:27 +0300
commit9e588f63965413fd31a1f952af14b78989591919 (patch)
treec64fe555059d3fb6f441660516dd75e046952286 /src
parentb72d210ff7b7c4c82708e6882694199108f55364 (diff)
downloadrabbitmq-server-git-9e588f63965413fd31a1f952af14b78989591919.tar.gz
Reduce default QI journal size
References #279, see #227 for background info.
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_queue_index.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_queue_index.erl b/src/rabbit_queue_index.erl
index 0c7d7c230a..6673139a3c 100644
--- a/src/rabbit_queue_index.erl
+++ b/src/rabbit_queue_index.erl
@@ -127,7 +127,7 @@
%% binary generation/matching with constant vs variable lengths.
-define(REL_SEQ_BITS, 14).
--define(SEGMENT_ENTRY_COUNT, 16384). %% trunc(math:pow(2,?REL_SEQ_BITS))).
+-define(SEGMENT_ENTRY_COUNT, 2048).
%% seq only is binary 01 followed by 14 bits of rel seq id
%% (range: 0 - 16383)