summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2010-03-09 23:53:51 +0000
committerMatthew Sackman <matthew@lshift.net>2010-03-09 23:53:51 +0000
commitae47f65d16cb229e4298aea435e543f1ccd55f16 (patch)
tree6323b35ca527b2fa71718393fbb4244658df682f
parent7400f7036354304e8e10a70daf89351b83c891da (diff)
downloadrabbitmq-server-git-ae47f65d16cb229e4298aea435e543f1ccd55f16.tar.gz
Missed a 16#ffffffff
-rw-r--r--src/rabbit_amqqueue_sup.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rabbit_amqqueue_sup.erl b/src/rabbit_amqqueue_sup.erl
index 122915cf66..f30c9fd5e6 100644
--- a/src/rabbit_amqqueue_sup.erl
+++ b/src/rabbit_amqqueue_sup.erl
@@ -37,6 +37,8 @@
-export([init/1]).
+-include("rabbit.hrl").
+
-define(SERVER, ?MODULE).
start_link() ->
@@ -45,5 +47,4 @@ start_link() ->
init([]) ->
{ok, {{simple_one_for_one_terminate, 10, 10},
[{rabbit_amqqueue, {rabbit_amqqueue_process, start_link, []},
- %% 16#ffffffff is the biggest value allowed
- temporary, 16#ffffffff, worker, [rabbit_amqqueue_process]}]}}.
+ temporary, ?MAX_WAIT, worker, [rabbit_amqqueue_process]}]}}.