From e1e1e9ecdf963f1803a952ad271e5995816ca991 Mon Sep 17 00:00:00 2001 From: yuanke <249218296@qq.com> Date: Tue, 13 Sep 2016 16:48:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=93=E5=AD=98=E6=96=B9=E5=BC=8F=E6=94=B9?= =?UTF-8?q?=E4=B8=BAredis=5Fstore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index b3c783be8..3c4f4fc9a 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -24,7 +24,7 @@ RedmineApp::Application.configure do # config.cache_store = :file_store, "#{Rails.root }/files/cache_store/" # config.cache_store = :redis_store, 'redis://localhost:6379/0/cache', { expires_in: 90.minutes } # - + config.cache_store = :redis_store, 'redis://127.0.0.1:6379/0/cache', { expires_in: 1.minutes } # Enable serving of images, stylesheets, and javascripts from an asset server # config.action_controller.asset_host = "http://assets.example.com"