summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-01-29 12:24:55 +0000
committerSimon MacMullen <simon@rabbitmq.com>2014-01-29 12:24:55 +0000
commita51555fcf80940c7f9ded0542342177c9810c987 (patch)
tree5d58e1974fc534582f197489f771303c47877178
parent5bbc046caad97344de5854e8a503992d59b41f75 (diff)
downloadrabbitmq-server-a51555fcf80940c7f9ded0542342177c9810c987.tar.gz
Based on some testing, we can reduce this somewhat.
-rw-r--r--src/rabbit_variable_queue.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_variable_queue.erl b/src/rabbit_variable_queue.erl
index 6df04552..e402a61d 100644
--- a/src/rabbit_variable_queue.erl
+++ b/src/rabbit_variable_queue.erl
@@ -392,7 +392,7 @@
%% RAM duration, or every N messages, whichever is sooner. We do this
%% since the priority calculations in rabbit_amqqueue_process need
%% fairly fresh rates.
--define(MSGS_PER_RATE_CALC, 1000).
+-define(MSGS_PER_RATE_CALC, 100).
%%----------------------------------------------------------------------------
%% Public API