lib/outlander/threads_pool.rb in outlander-0.1.0 vs lib/outlander/threads_pool.rb in outlander-0.2.0

- old
+ new

@@ -13,10 +13,10 @@ @queue << task end def start raise "Could not start with empty queue" if @queue.empty? - run_threads(@num_threads) + run_threads @num_threads sleep 1 until @queue.empty? && @queue.num_waiting == @num_threads end private