lib/avo/app.rb in avo-2.42.0 vs lib/avo/app.rb in avo-2.42.1
- old
+ new
@@ -39,10 +39,10 @@
# If not, we'll use the FileStore.
# We decided against the MemoryStore in production because it will not be shared between multiple processes (when using Puma).
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"))
end
elsif Rails.env.test?