summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriele Santomaggio <gabriele.santomaggio@erlang-solutions.com>2016-08-08 23:23:03 +0200
committerGabriele Santomaggio <gabriele.santomaggio@erlang-solutions.com>2016-08-08 23:23:03 +0200
commit1c4934df5b22df0ae6a5496bcd40d8b954dbfcac (patch)
treefc09751042c932eecb565871f93b48ef24f8622d
parent249995a23d14f543d6cc197ff0062b6a7e804d90 (diff)
downloadrabbitmq-server-git-1c4934df5b22df0ae6a5496bcd40d8b954dbfcac.tar.gz
add resume after flow
-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 2d55d4a13b..297df086ad 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(State)
+ convert_to_lazy(resume(State1))
end.
wait_for_msg_store_credit() ->