Mercurial > rsstweet
diff config/initializers/00rsstweet.rb @ 268:e7426dbe12e4 default tip
Reset cache store
author | nanaya <me@nanaya.net> |
---|---|
date | Thu, 17 Apr 2025 20:23:58 +0900 |
parents | cd927bb7dc0d |
children |
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