Method: Qup::Adapter::Redis::Queue#depth
- Defined in:
- lib/qup/adapter/redis/queue.rb
#depth ⇒ Object
Internal: return the number of Messages on the Queue
Returns an integer of the Queue depth
44 45 46 |
# File 'lib/qup/adapter/redis/queue.rb', line 44 def depth @client.llen name end |