summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2010-03-08 16:26:25 +0000
committerMatthew Sackman <matthew@lshift.net>2010-03-08 16:26:25 +0000
commit2a80c20219e8c1c705ad131d9ba1967244f06705 (patch)
tree3df88ffae0b689ea9ff59c275004d8d79d267152
parentd28f4a25d3180b6be8722b57b964178ff1fa9b99 (diff)
downloadrabbitmq-server-2a80c20219e8c1c705ad131d9ba1967244f06705.tar.gz
Apparently 'No, you can't include rabbit.hrl in tcp_listener_sup'.
-rw-r--r--src/tcp_listener_sup.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tcp_listener_sup.erl b/src/tcp_listener_sup.erl
index b1526d5e..493925ef 100644
--- a/src/tcp_listener_sup.erl
+++ b/src/tcp_listener_sup.erl
@@ -37,8 +37,6 @@
-export([init/1]).
--include("rabbit.hrl").
-
start_link(IPAddress, Port, SocketOpts, OnStartup, OnShutdown,
AcceptCallback, Label) ->
start_link(IPAddress, Port, SocketOpts, OnStartup, OnShutdown,
@@ -65,4 +63,4 @@ init({IPAddress, Port, SocketOpts, OnStartup, OnShutdown,
[IPAddress, Port, SocketOpts,
ConcurrentAcceptorCount, Name,
OnStartup, OnShutdown, Label]},
- transient, ?MAX_WAIT, worker, [tcp_listener]}]}}.
+ transient, 16#ffffffff, worker, [tcp_listener]}]}}.