mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Correctly find namespace for use in the Web UI.
This commit is contained in:
parent
b968d6cfe0
commit
35c562f9c4
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ module Sidekiq
|
|||
end
|
||||
|
||||
def namespace
|
||||
Sidekiq.redis { |conn| conn.namespace.nil? ? 'default' : conn.namespace }
|
||||
Sidekiq.redis { |conn| Sidekiq.options[:namespace] || 'default' }
|
||||
end
|
||||
|
||||
def root_path
|
||||
|
|
Loading…
Add table
Reference in a new issue