Permalink
Browse files

Be resque-compatible when resque's namespace not equal to default 're…

…sque'

In this case let the developer set Pace.namespace equal to Resque.namespace
  • Loading branch information...
1 parent 92417b3 commit 67fb0dac3ec7ba56ade5e3fd60a56b3011c77722 aignatev committed with Mar 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pace/queue.rb
View
@@ -17,7 +17,7 @@ def redis=(r)
def expand_name(queue)
parts = [queue]
- parts.unshift("resque:queue") unless queue.index(":")
+ parts.unshift("queue") unless queue.index(":")
parts.unshift(Pace.namespace) unless Pace.namespace.nil?
parts.join(":")
end

0 comments on commit 67fb0da

Please sign in to comment.