mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Remove REDISTOGO_URL hardcoded support
This commit is contained in:
parent
398ad5f3ea
commit
cd0fee8143
1 changed files with 1 additions and 3 deletions
|
@ -68,9 +68,7 @@ module Sidekiq
|
|||
end
|
||||
|
||||
def determine_redis_provider
|
||||
# REDISTOGO_URL is only support for legacy reasons
|
||||
provider = ENV['REDIS_PROVIDER'] || 'REDIS_URL'
|
||||
ENV[provider] || ENV['REDISTOGO_URL']
|
||||
ENV[ENV['REDIS_PROVIDER'] || 'REDIS_URL']
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue