mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Don't hardcode URI scheme of redis connection url (#4839)
This commit is contained in:
parent
25ed7c7e39
commit
561f0bfae8
1 changed files with 1 additions and 2 deletions
|
@ -166,8 +166,7 @@ module Sidekiq
|
|||
|
||||
def redis_connection
|
||||
Sidekiq.redis do |conn|
|
||||
c = conn.connection
|
||||
"redis://#{c[:location]}/#{c[:db]}"
|
||||
conn.connection[:id]
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue