Method: Thpool#queue_size

Defined in:
lib/thpool.rb

#queue_sizeObject

Returns the number of items in the queue. Note that this does not count anything that might be active within a worker.



116
117
118
# File 'lib/thpool.rb', line 116

def queue_size
  @queue.size
end