Skip to content

Commit

Permalink
add some contention
Browse files Browse the repository at this point in the history
  • Loading branch information
ibawt committed Sep 11, 2019
1 parent 4b8d278 commit 712ce8f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def batches
0.upto(9) do |j|
bsp.on_end(x + j)
end
sleep(rand 0.01)
end
end
producers.each(&:join)
Expand Down

0 comments on commit 712ce8f

Please sign in to comment.