Permalink
Browse files

More work on BackgroundCache::Client.queued

  • Loading branch information...
winton committed Nov 3, 2011
1 parent e54eb3c commit 47a5ee69c214d1b0aa1012cb15b727dbcf8ffc19
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/background_cache/client.rb
@@ -46,7 +46,7 @@ def cache(options)
def queued
queues = @redis_2.keys 'background_cache:queue:*'
queues.collect do |q|
- q['background_cache:queue:'.length..-1]
+ Hash[*eval(q['background_cache:queue:'.length..-1]).flatten]
end
end
end

0 comments on commit 47a5ee6

Please sign in to comment.