lib/outliers/run.rb in outliers-0.3.2 vs lib/outliers/run.rb in outliers-0.3.3
- old
+ new
@@ -19,10 +19,10 @@
end
threads.each {|t| t.join}
end
- def evaluate(name='unspecified', &block)
+ def evaluate(name=nil, &block)
while Thread.list.count > thread_count
logger.info "Maximum concurrent threads running, sleeping."
sleep 2
end