summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2010-04-09 17:25:47 +0100
committerMatthias Radestock <matthias@lshift.net>2010-04-09 17:25:47 +0100
commit11764cc1de802b4f21566f525f066e6e1a7a885a (patch)
tree57e1d78d9c218cc1626a8147f72237ee5eea4cac /include
parentd3817865c0ef6cd15a376c9b502d415f10fb3e6c (diff)
downloadrabbitmq-server-git-11764cc1de802b4f21566f525f066e6e1a7a885a.tar.gz
refactor: put hibernation constants in one place
This was cherry-picked from the bug21673 branch
Diffstat (limited to 'include')
-rw-r--r--include/rabbit.hrl3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 38142491ff..9bd1f6efd8 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -175,6 +175,9 @@
-define(MAX_WAIT, 16#ffffffff).
+-define(HIBERNATE_AFTER_MIN, 1000).
+-define(DESIRED_HIBERNATE, 10000).
+
-ifdef(debug).
-define(LOGDEBUG0(F), rabbit_log:debug(F)).
-define(LOGDEBUG(F,A), rabbit_log:debug(F,A)).