Method: ActionPool::Pool#working
- Defined in:
- lib/actionpool/Pool.rb
#working ⇒ Object
Returns current number of threads in the pool working
272 273 274 |
# File 'lib/actionpool/Pool.rb', line 272 def working @threads.select{|t|t.running?}.size end |