Permalink
Browse files

haha, forgot to join on our threads, yeah, that'll do bad things, cre…

…ating that many threads at once
  • Loading branch information...
1 parent 4b9ce36 commit 90088b8b76f8be16188c4b42d69d86c5124171b8 @jrochkind committed May 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test.rb
View
@@ -59,7 +59,7 @@ def test_http(name, &block)
block.call
else
threads = []
- CONCURRENCY.times do
+ threads << CONCURRENCY.times do
threads << Thread.new do
PER_THREAD.times { block.call }
end

0 comments on commit 90088b8

Please sign in to comment.