diff options
Diffstat (limited to 'lib/rainbows/writer_thread_pool.rb')
-rw-r--r-- | lib/rainbows/writer_thread_pool.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows/writer_thread_pool.rb b/lib/rainbows/writer_thread_pool.rb index b5688e0..657d076 100644 --- a/lib/rainbows/writer_thread_pool.rb +++ b/lib/rainbows/writer_thread_pool.rb @@ -50,9 +50,9 @@ module Rainbows::WriterThreadPool end end - @@q = qp.map { |q| q.queue } + @@q = qp.map(&:queue) super(worker) # accept loop from Unicorn - qp.each { |q| q.quit! } + qp.each(&:quit!) end # :startdoc: end |