about summary refs log tree commit homepage
path: root/lib/rainbows/thread_pool.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/thread_pool.rb')
-rw-r--r--lib/rainbows/thread_pool.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/thread_pool.rb b/lib/rainbows/thread_pool.rb
index e12559a..62a04a3 100644
--- a/lib/rainbows/thread_pool.rb
+++ b/lib/rainbows/thread_pool.rb
@@ -42,7 +42,7 @@ module Rainbows
     def maintain_thread_count(threads)
       threads.list.each do |thr|
         next if (Time.now - (thr[:t] || next)) < timeout
-        thr.kill! # take no prisoners for timeout violations
+        thr.kill
         logger.error "killed #{thr.inspect} for being too old"
       end