summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2010-07-08 16:48:58 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2010-07-08 16:48:58 +0100
commit8fa063bd998c2f03a966c995e3016af22e69bc8d (patch)
tree479a6bd0a4950bcabae850f782a3f3baf1c90a55 /src
parent8bfd1a054be9ec05bddf6fc8339a16366cc71876 (diff)
downloadrabbitmq-server-git-8fa063bd998c2f03a966c995e3016af22e69bc8d.tar.gz
Document ram_index_count
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_variable_queue.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_variable_queue.erl b/src/rabbit_variable_queue.erl
index 9d830cc086..c176f68294 100644
--- a/src/rabbit_variable_queue.erl
+++ b/src/rabbit_variable_queue.erl
@@ -117,7 +117,8 @@
%% effectively amortised (switching the direction of queue access
%% defeats amortisation), nor should it be too big, otherwise
%% converting a batch stalls the queue for too long. Therefore, it
-%% must be just right.
+%% must be just right. ram_index_count is used here and is the number
+%% of betas.
%%
%% The conversion from alphas to betas is also chunked, but only to
%% ensure no more than ?IO_BATCH_SIZE alphas are converted to betas at