Remove the io:format

This commit is contained in:
Feng Lee 2019-02-22 18:00:44 +08:00 committed by Gilbert
parent e3bc8e4f0a
commit 3e0fa87209
1 changed files with 0 additions and 1 deletions

View File

@ -1027,7 +1027,6 @@ drain_q(Cnt, Msgs, Q) ->
case emqx_mqueue:out(Q) of
{empty, _Q} -> {Msgs, Q};
{{value, Msg}, Q1} ->
io:format("Drain Msg: ~p~n", [Msg]),
drain_q(Cnt-1, [Msg|Msgs], Q1)
end.