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:
parent
23c46681b7
commit
ecba67b4a5
1 changed files with 1 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue