Permalink
Browse files

Merge pull request #767 from keithpitt/patch-2

Added a comment why REDISTOGO_URL is supported
  • Loading branch information...
2 parents 919e1c7 + ecba67b commit 1a7e29d04b35338453aa67aa6385dc3fc5ac3e27 @mperham committed Mar 13, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/sidekiq/redis_connection.rb
@@ -26,6 +26,7 @@ def self.build_client(url, namespace, driver)
# 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]

0 comments on commit 1a7e29d

Please sign in to comment.