Explicitly use a shard for caching
See: https://github.com/rails/solid_cache/pull/219
This commit is contained in:
committed by
Mike Dalessio
parent
e3d86bb21e
commit
a9e052d8cb
+1
-4
@@ -6,10 +6,7 @@ default_options: &default_options
|
||||
namespace: <%= Rails.env %>
|
||||
|
||||
default_connection: &default_connection
|
||||
connects_to:
|
||||
database:
|
||||
writing: :cache
|
||||
reading: :cache
|
||||
database: :cache
|
||||
|
||||
default: &default
|
||||
<<: *default_connection
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
Rails.application.configure do
|
||||
config.solid_cache.connects_to = { database: { writing: :cache, reading: :cache } }
|
||||
end
|
||||
Reference in New Issue
Block a user