Mercurial > rsstweet
changeset 268:e7426dbe12e4 default tip
Reset cache store
author | nanaya <me@nanaya.net> |
---|---|
date | Thu, 17 Apr 2025 20:23:58 +0900 |
parents | 5326ed3fa7c3 |
children | |
files | config/initializers/00rsstweet.rb |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/config/initializers/00rsstweet.rb Thu Apr 17 20:08:20 2025 +0900 +++ b/config/initializers/00rsstweet.rb Thu Apr 17 20:23:58 2025 +0900 @@ -13,4 +13,5 @@ if $cfg[:redis_server] Rails.application.config.cache_store = :redis_cache_store, { url: "#{$cfg[:redis_server]}" } + Rails.cache = ActiveSupport::Cache.lookup_store(Rails.application.config.cache_store) end