mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Fix queue name with namespace, fixes #109
This commit is contained in:
parent
2e58b1d9d8
commit
efb2273461
2 changed files with 7 additions and 1 deletions
|
@ -1,6 +1,12 @@
|
|||
HEAD
|
||||
-----------
|
||||
|
||||
- Fix fetch breaking retry when used with Redis namespaces. [#109]
|
||||
|
||||
|
||||
0.11.0
|
||||
-----------
|
||||
|
||||
- Client-side API changes, added sidekiq\_options for Sidekiq::Worker.
|
||||
As a side effect of this change, the client API works on Ruby 1.8.
|
||||
It's not officially supported but should work [#103]
|
||||
|
|
|
@ -35,7 +35,7 @@ module Sidekiq
|
|||
Sidekiq.redis { |conn| (queue, msg) = conn.blpop(*@cmd) }
|
||||
|
||||
if msg
|
||||
@mgr.assign!(msg, queue.gsub(/\Aqueue:/, ''))
|
||||
@mgr.assign!(msg, queue.gsub(/.*queue:/, ''))
|
||||
else
|
||||
after(0) { fetch }
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue