Method: Zold::AsyncEntrance#to_json
- Defined in:
- lib/zold/node/async_entrance.rb
#to_json ⇒ Object
52 53 54 55 56 57 58 |
# File 'lib/zold/node/async_entrance.rb', line 52 def to_json @entrance.to_json.merge( 'queue': @queue.size, 'threads': @pool.count, 'queue_limit': @queue_limit ) end |