Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

RedisQueue #error_length, #backup_length

  • Loading branch information...
commit ff99e98ed52407160d3ce1c960300507fe0ae582 1 parent d033995
@senotrusov authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 lib/redis-call/redis_queue.rb
View
8 lib/redis-call/redis_queue.rb
@@ -183,6 +183,14 @@ def length
llen(@key)
end
+ def error_length
+ llen(@key/:error)
+ end
+
+ def backup_length
+ llen(@key/:backup)
+ end
+
def delete
del(@key)
end
Please sign in to comment.
Something went wrong with that request. Please try again.