lib/resque.rb
# Returns an integer representing the size of a queue.
# Queue name should be a string.
Returns an integer representing the size of a queue.
Queue name should be a string.
Returns an integer representing the size of a queue . Queue name should be a string .
def size(queue)
    with_retries do
      redis.llen("queue:#{queue}").to_i
    end
  end
def size ( queue ) with_retries do redis . llen ( "queue:#{queue}" ) . to_i end end
Returns an integer representing the size of a queue.
Returns an integer representing the size of a queue .
queue