diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2013-11-26 19:16:26 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2013-11-26 19:16:26 +0000 |
| commit | 01aa550a0d1c3d42090c3836825cd88dd61e8b13 (patch) | |
| tree | fbf3b1b1ee67280b3b7267b78d71c5cb81524063 /src | |
| parent | 129871a6ceabc41d18603e1b3ba67034abf45f6e (diff) | |
| download | rabbitmq-server-git-01aa550a0d1c3d42090c3836825cd88dd61e8b13.tar.gz | |
refactor: consistent order of handling configurable params
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_reader.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rabbit_reader.erl b/src/rabbit_reader.erl index 589584bdc5..c3b5230774 100644 --- a/src/rabbit_reader.erl +++ b/src/rabbit_reader.erl @@ -840,8 +840,8 @@ handle_method0(#'connection.secure_ok'{response = Response}, auth_phase(Response, State); handle_method0(#'connection.tune_ok'{frame_max = FrameMax, - heartbeat = ClientHeartbeat, - channel_max = ChannelMax}, + channel_max = ChannelMax, + heartbeat = ClientHeartbeat}, State = #v1{connection_state = tuning, connection = Connection, helper_sup = SupPid, @@ -1000,8 +1000,8 @@ auth_phase(Response, State#v1{connection = Connection#connection{ auth_state = AuthState1}}; {ok, User} -> - Tune = #'connection.tune'{channel_max = get_env(channel_max), - frame_max = get_env(frame_max), + Tune = #'connection.tune'{frame_max = get_env(frame_max), + channel_max = get_env(channel_max), heartbeat = get_env(heartbeat)}, ok = send_on_channel0(Sock, Tune, Protocol), State#v1{connection_state = tuning, |
