diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rainbows/thread_pool.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/thread_pool.rb b/lib/rainbows/thread_pool.rb index 6556164..280ba40 100644 --- a/lib/rainbows/thread_pool.rb +++ b/lib/rainbows/thread_pool.rb @@ -34,7 +34,7 @@ module Rainbows pool.each do |thr| worker.tmp.chmod(m = 0 == m ? 1 : 0) # if any worker dies, something is serious wrong, bail - thr.join(timeout) and break + thr.join(1) and break end end join_threads(pool, worker) |