Method: ActionPool::Pool#working
- Defined in:
- lib/actionpool/Pool.rb
#working ⇒ Object
Returns current number of threads in the pool working
263 264 265 |
# File 'lib/actionpool/Pool.rb', line 263 def working @threads.find_all{|t|!t.waiting?}.size end |