1
0
Fork 0
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:
Mike Perham 2014-02-01 20:49:04 -08:00
parent 398ad5f3ea
commit cd0fee8143

View file

@ -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