diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-03-19 13:57:15 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2021-03-19 13:57:15 +0100 |
commit | 3ad6ef72cb3a02135a0f395a8a46323e86c4b334 (patch) | |
tree | ff1f1d15a80f5420c52afd4d975b44c0afe1194e /config/environments | |
parent | ba22398c38067e05f141a0dddeb20bf68913988a (diff) | |
parent | 741d0952b174740e70a09fe6db6862624dfe1e44 (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'config/environments')
-rw-r--r-- | config/environments/development.rb | 2 | ||||
-rw-r--r-- | config/environments/production.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb index 0791b82ab..d76361c60 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -17,7 +17,7 @@ Rails.application.configure do if Rails.root.join('tmp/caching-dev.txt').exist? config.action_controller.perform_caching = true - config.cache_store = :redis_store, ENV['REDIS_URL'], REDIS_CACHE_PARAMS + config.cache_store = :redis_cache_store, REDIS_CACHE_PARAMS config.public_file_server.headers = { 'Cache-Control' => "public, max-age=#{2.days.to_i}", diff --git a/config/environments/production.rb b/config/environments/production.rb index c2e8210f8..248ea6ee0 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['CACHE_REDIS_URL'], REDIS_CACHE_PARAMS + config.cache_store = :redis_cache_store, 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. |