Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

No CACHE_REDIS_URL used anywhere else (#323)

Juan José Matac6798706ed1b
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 671b5239fe..347a186177 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -69,8 +69,8 @@ Rails.application.configure do
# want to log everything, set the level to "debug".
config.log_level = ENV.fetch("RAILS_LOG_LEVEL", "info")
- if ENV["CACHE_REDIS_URL"].present?
- config.cache_store = :redis_cache_store, { url: ENV["CACHE_REDIS_URL"] }
+ if ENV["REDIS_URL"].present?
+ config.cache_store = :redis_cache_store, { url: ENV["REDIS_URL"] }
end
config.action_mailer.perform_caching = false