summaryrefslogtreecommitdiff
path: root/src
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
commit7f8bbe46b393a046bcb08c2751e99d1de0826967 (patch)
tree57e1d78d9c218cc1626a8147f72237ee5eea4cac /src
parent2db1402bf3bf6b1ffe80aa655eb24c0bbd5e4d7f (diff)
downloadrabbitmq-server-7f8bbe46b393a046bcb08c2751e99d1de0826967.tar.gz
refactor: put hibernation constants in one place
This was cherry-picked from the bug21673 branch
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_amqqueue_process.erl2
-rw-r--r--src/rabbit_channel.erl3
2 files changed, 0 insertions, 5 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index 19cb5c71..a6e0f40d 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -36,8 +36,6 @@
-behaviour(gen_server2).
-define(UNSENT_MESSAGE_LIMIT, 100).
--define(HIBERNATE_AFTER_MIN, 1000).
--define(DESIRED_HIBERNATE, 10000).
-export([start_link/1, info_keys/0]).
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index 7f8ba12f..db5b9634 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -48,9 +48,6 @@
username, virtual_host, most_recently_declared_queue,
consumer_mapping, blocking}).
--define(HIBERNATE_AFTER_MIN, 1000).
--define(DESIRED_HIBERNATE, 10000).
-
-define(MAX_PERMISSION_CACHE_SIZE, 12).
-define(INFO_KEYS,