Method: Resque#size
- Defined in:
- lib/resque.rb
#size(queue) ⇒ Object
Returns an integer representing the size of a queue. Queue name should be a string.
362 363 364 |
# File 'lib/resque.rb', line 362 def size(queue) data_store.queue_size(queue) end |