diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-12-18 13:41:49 +0200 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-12-18 13:41:49 +0200 |
commit | 55ca438b2db24eadd2a5008f6f9d13fcf25a30fa (patch) | |
tree | be465a5451eba55b7eb63e1f983e7af2ce6c2557 /lib | |
parent | ee19f3ee8a0dce831e0c8edb3d7614e2ac84a608 (diff) |
Updated to use the right form of counting for the set.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/custodian/queue.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/queue.rb b/lib/custodian/queue.rb index c8dfed8..d1f4a2c 100644 --- a/lib/custodian/queue.rb +++ b/lib/custodian/queue.rb @@ -110,7 +110,7 @@ module Custodian # How many jobs in the queue? # def size? - @redis.zcard('custodian_queue') + @redis.scard('custodian_queue') end |