Permalink
Browse files

Scoping background cache key

  • Loading branch information...
1 parent c81d6be commit 78890c9d831fcbc554328cb5e49b8ef3559524d2 @winton committed Nov 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/background_cache/daemon.rb
@@ -36,7 +36,7 @@ def initialize(root)
request = Yajl::Parser.parse(request)
channel = request.delete('channel')
- cache_key = request.to_a.sort { |a, b| a.first <=> b.first }.inspect
+ cache_key = 'background_cache:queue:' + request.to_a.sort { |a, b| a.first <=> b.first }.inspect
request.keys.each do |key|
request[(key.to_sym rescue key) || key] = request.delete(key)

0 comments on commit 78890c9

Please sign in to comment.