diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-05-03 23:18:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-03 23:18:13 +0200 |
commit | c997091166ba1801eea3a587c913b020b9b84ce4 (patch) | |
tree | ed109c440d11133421f3b2187c71b1c4e0270c6e /config/environments/development.rb | |
parent | 005f1fd360ada23c6e35c6cc1fd06b7a4fe28c41 (diff) |
Clean up redis configuration. Allow using REDIS_URL to set advanced (#2732)
connection options instead of setting REDIS_HOST etc individually Close #1986
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r-- | config/environments/development.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb index 4b25ab1a8..58e8a0728 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -16,14 +16,6 @@ Rails.application.configure do if Rails.root.join('tmp/caching-dev.txt').exist? config.action_controller.perform_caching = true - config.cache_store = :redis_store, { - host: ENV['REDIS_HOST'] || 'localhost', - port: ENV['REDIS_PORT'] || 6379, - db: 0, - namespace: 'cache', - expires_in: 1.minute, - } - config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=172800', } |