Skip to content

Commit

Permalink
improvement: solid cache support (#1978)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob authored Oct 13, 2023
1 parent 560f6a3 commit ac71bab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/avo/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def boot
def get_cache_store
if Rails.env.production?
case Rails.cache.class.to_s
when "ActiveSupport::Cache::MemCacheStore", "ActiveSupport::Cache::RedisCacheStore"
when "ActiveSupport::Cache::MemCacheStore", "ActiveSupport::Cache::RedisCacheStore", "SolidCache::Store"
Rails.cache
else
ActiveSupport::Cache.lookup_store(:file_store, Rails.root.join("tmp", "cache"))
Expand Down

0 comments on commit ac71bab

Please sign in to comment.