1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Added a comment why REDISTOGO_URL is supported

This commit is contained in:
Keith Pitt 2013-03-14 08:04:49 +11:00
parent 23c46681b7
commit ecba67b4a5

View file

@ -26,6 +26,7 @@ module Sidekiq
# Not public
def self.determine_redis_provider
# REDISTOGO_URL is only support for legacy reasons
return ENV['REDISTOGO_URL'] if ENV['REDISTOGO_URL']
provider = ENV['REDIS_PROVIDER'] || 'REDIS_URL'
ENV[provider]