summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Klishin <mklishin@pivotal.io>2015-08-27 18:11:08 +0300
committerMichael Klishin <mklishin@pivotal.io>2015-08-27 18:11:08 +0300
commita576769d5aff720938077f8a75aa33d5a4ae7c7f (patch)
tree95d02ff32fed8d2dc01c6f7b9f4ecec254ab2413 /include
parent67c24aa1ccf5209660d54ad49033a1d1e3cc0502 (diff)
downloadrabbitmq-server-git-a576769d5aff720938077f8a75aa33d5a4ae7c7f.tar.gz
Merge stable into master
Diffstat (limited to 'include')
-rw-r--r--include/rabbit.hrl4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index d16a38f981..9ad99a754a 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -125,6 +125,10 @@
-define(HIBERNATE_AFTER_MIN, 1000).
-define(DESIRED_HIBERNATE, 10000).
-define(CREDIT_DISC_BOUND, {2000, 500}).
+%% When we discover that we should write some indices to disk for some
+%% betas, the IO_BATCH_SIZE sets the number of betas that we must be
+%% due to write indices for before we do any work at all.
+-define(IO_BATCH_SIZE, 2048). %% next power-of-2 after ?CREDIT_DISC_BOUND
-define(INVALID_HEADERS_KEY, <<"x-invalid-headers">>).
-define(ROUTING_HEADERS, [<<"CC">>, <<"BCC">>]).