diff options
| author | Matthew Sackman <matthew@rabbitmq.com> | 2011-02-15 12:36:40 +0000 |
|---|---|---|
| committer | Matthew Sackman <matthew@rabbitmq.com> | 2011-02-15 12:36:40 +0000 |
| commit | 441ac18d33cba52ddca8ad09b4eef27f4bf8099c (patch) | |
| tree | 5399b5339d9ab1f328a9225991aa2c68b83d6abb | |
| parent | b29e1217253b4c85d8bcecec08518f3a41ab7b65 (diff) | |
| download | rabbitmq-server-git-441ac18d33cba52ddca8ad09b4eef27f4bf8099c.tar.gz | |
/Consistently/...
| -rw-r--r-- | src/rabbit_channel_sup.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_channel_sup.erl b/src/rabbit_channel_sup.erl index f528a9c6c1..fdaabdfbbf 100644 --- a/src/rabbit_channel_sup.erl +++ b/src/rabbit_channel_sup.erl @@ -56,7 +56,7 @@ start_link({tcp, Sock, Channel, FrameMax, ReaderPid, User, VHost, Protocol, supervisor2:start_child( SupPid, {channel, {rabbit_channel, start_link, - [Protocol, Channel, ReaderPid, WriterPid, User, VHost, + [Channel, ReaderPid, WriterPid, User, VHost, Protocol, Collector, start_limiter_fun(SupPid)]}, intrinsic, ?MAX_WAIT, worker, [rabbit_channel]}), {ok, AState} = rabbit_command_assembler:init(Protocol), @@ -68,8 +68,8 @@ start_link({direct, Channel, ClientChannelPid, User, VHost, Protocol, supervisor2:start_child( SupPid, {channel, {rabbit_channel, start_link, - [Protocol, Channel, ClientChannelPid, ClientChannelPid, - User, VHost, Collector, start_limiter_fun(SupPid)]}, + [Channel, ClientChannelPid, ClientChannelPid, User, + VHost, Protocol, Collector, start_limiter_fun(SupPid)]}, intrinsic, ?MAX_WAIT, worker, [rabbit_channel]}), {ok, SupPid, {ChannelPid, none}}. |
