Explorar el Código

Remove the io:format

Feng Lee hace 7 años
padre
commit
3e0fa87209
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      src/emqx_session.erl

+ 0 - 1
src/emqx_session.erl

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