diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2010-08-03 11:41:35 +0100 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2010-08-03 11:41:35 +0100 |
commit | bb9b11a2eb4c76877b43296cd602cec43ca3ad99 (patch) | |
tree | 32a36643fd85d26a02b2329c21ee59219b5760fb /src/rabbit_connection_sup.erl | |
parent | 23b20d0ed8aacc5ba4b3d41d6445985140bbce4f (diff) | |
download | rabbitmq-server-bb9b11a2eb4c76877b43296cd602cec43ca3ad99.tar.gz |
Don't dynamically start up the channel_sup_sup - it doesn't gain us much to predeclare it with the Protocol and it makes the children of the channel_sup_sup less obvious
Diffstat (limited to 'src/rabbit_connection_sup.erl')
-rw-r--r-- | src/rabbit_connection_sup.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rabbit_connection_sup.erl b/src/rabbit_connection_sup.erl index 5d05ca28..4ad9d3f0 100644 --- a/src/rabbit_connection_sup.erl +++ b/src/rabbit_connection_sup.erl @@ -44,7 +44,9 @@ start_link() -> init([]) -> {ok, {{one_for_all, 0, 1}, - [{reader, {rabbit_reader, start_link, []}, + [{channel_sup_sup, {rabbit_channel_sup_sup, start_link, []}, + permanent, infinity, supervisor, [rabbit_channel_sup_sup]}, + {reader, {rabbit_reader, start_link, []}, permanent, ?MAX_WAIT, worker, [rabbit_reader]}, {collector, {rabbit_queue_collector, start_link, []}, permanent, ?MAX_WAIT, worker, [rabbit_queue_collector]} |