diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-04-27 01:37:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-27 01:37:59 +0200 |
commit | 63553c6b5c927950a45c5acb5af32af0dacee8c9 (patch) | |
tree | 47d712d00553a856d1fe87076071083643a08c91 /config | |
parent | 36b6631c1261f35ca22b9d2f9e99b72f83ed3492 (diff) |
Add support for separate Redis for cache (#7272)
* Add support for separate Redis for cache CACHE_REDIS_URL to allow using a different Redis server for cache purposes, with cache-specific configuration such as key eviction * Fix code style issues
Diffstat (limited to 'config')
-rw-r--r-- | config/environments/production.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index e742f668a..30239671c 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -52,7 +52,7 @@ Rails.application.configure do config.log_tags = [:request_id] # Use a different cache store in production. - config.cache_store = :redis_store, ENV['REDIS_URL'], REDIS_CACHE_PARAMS + config.cache_store = :redis_store, ENV['CACHE_REDIS_URL'], REDIS_CACHE_PARAMS # Ignore bad email addresses and do not raise email delivery errors. # Set this to true and configure the email server for immediate delivery to raise delivery errors. |