mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Force Redis 4.x now, fixes #3748
This commit is contained in:
parent
77966a9b5a
commit
ad80323432
2 changed files with 3 additions and 3 deletions
|
@ -149,8 +149,8 @@ module Sidekiq
|
|||
|
||||
def redis_connection
|
||||
Sidekiq.redis do |conn|
|
||||
c = conn._client
|
||||
"redis://#{c.location}/#{c.db}"
|
||||
c = conn.connection
|
||||
"redis://#{c[:location]}/#{c[:db]}"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
|
|||
gem.version = Sidekiq::VERSION
|
||||
gem.required_ruby_version = ">= 2.2.2"
|
||||
|
||||
gem.add_dependency 'redis', '>= 3.3.4', '< 5'
|
||||
gem.add_dependency 'redis', '>= 4.0.1', '< 5'
|
||||
gem.add_dependency 'connection_pool', '~> 2.2', '>= 2.2.0'
|
||||
gem.add_dependency 'concurrent-ruby', '~> 1.0'
|
||||
gem.add_dependency 'rack-protection', '>= 1.5.0'
|
||||
|
|
Loading…
Reference in a new issue