summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabriele Santomaggio <gabriele.santomaggio@erlang-solutions.com>2016-08-05 15:23:48 +0200
committerGabriele Santomaggio <gabriele.santomaggio@erlang-solutions.com>2016-08-05 15:23:48 +0200
commit249995a23d14f543d6cc197ff0062b6a7e804d90 (patch)
tree52288487540963f9718ee7c5fdd810a34305d6c1 /src
parentea4e59ee3018bd2824b003ac8f9db3e59c9d3413 (diff)
downloadrabbitmq-server-git-249995a23d14f543d6cc197ff0062b6a7e804d90.tar.gz
fix loop in flow control state
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_variable_queue.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_variable_queue.erl b/src/rabbit_variable_queue.erl
index 9ad752a174..2d55d4a13b 100644
--- a/src/rabbit_variable_queue.erl
+++ b/src/rabbit_variable_queue.erl
@@ -939,7 +939,7 @@ convert_to_lazy(State) ->
%% is not in a proper state for a lazy BQ (unless all
%% messages have been paged to disk already).
wait_for_msg_store_credit(),
- convert_to_lazy(State1)
+ convert_to_lazy(State)
end.
wait_for_msg_store_credit() ->