Skip to content

Commit 5ba10e0

Browse files
author
José Valim
committed
Remove debug code
1 parent 6fd331f commit 5ba10e0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/gen_stage.ex

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2529,13 +2529,7 @@ defmodule GenStage do
25292529
stage =
25302530
case stage do
25312531
%{type: :producer_consumer, events: {queue, demand}} ->
2532-
if demand < length - length(events) do
2533-
IO.puts(Exception.format_stacktrace())
2534-
IO.inspect({demand, length, length(events)})
2535-
end
2536-
25372532
demand = demand - (length - length(events))
2538-
25392533
%{stage | dispatcher_state: dispatcher_state, events: {queue, max(demand, 0)}}
25402534

25412535
%{} ->

0 commit comments

Comments
 (0)