Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 90088b8b76f8be16188c4b42d69d86c5124171b8 1 parent 4b9ce36
@jrochkind authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test.rb
View
2  test.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.