Merge pull request #3583 from robyurkowski/fix-redis-typo

Correct typo in Redis settings
This commit is contained in:
Robin Ward 2015-07-01 10:25:15 -04:00
commit 4c8d728415
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class GlobalSetting
c = {}
c[:host] = redis_host if redis_host
c[:port] = redis_port if redis_port
c[:password] = redis_host if redis_password.present?
c[:password] = redis_password if redis_password.present?
c[:db] = redis_db if redis_db != 0
c[:db] = 1 if Rails.env == "test"
if redis_sentinels.present?