mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Don't use ActiveSupport
This commit is contained in:
parent
31ffe63659
commit
04607f8e15
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ module Sidekiq
|
|||
|
||||
def redis_connection_and_namespace
|
||||
@redis_connection_and_namespace ||= begin
|
||||
namespace_suffix = namespace.blank? ? '' : "##{namespace}"
|
||||
namespace_suffix = namespace == nil ? '' : "##{namespace}"
|
||||
"#{redis_connection}#{namespace_suffix}"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue