From 7176d3d2d5c821e559ed121071d0827b33ac60b2 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Wed, 14 Jun 2023 14:43:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=90=AFredis=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/environments/production.rb.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/production.rb.example b/config/environments/production.rb.example index 6eaa49e48..82133924d 100644 --- a/config/environments/production.rb.example +++ b/config/environments/production.rb.example @@ -104,7 +104,7 @@ Rails.application.configure do # config.cache_store = :file_store, "#{Rails.root }/files/cache_store/" - # config.cache_store = :redis_store, 'redis://127.0.0.1:6379/0/cache', { expires_in: 90.minutes } + config.cache_store = :redis_store, 'redis://127.0.0.1:6379/0/cache' #, { expires_in: 90.minutes } config.action_mailer.delivery_method = :smtp