Explicitly use a shard for caching

See: https://github.com/rails/solid_cache/pull/219
This commit is contained in:
Stanko K.R.
2025-11-14 16:29:52 +01:00
committed by Mike Dalessio
parent e3d86bb21e
commit a9e052d8cb
2 changed files with 1 additions and 7 deletions
+1 -4
View File
@@ -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
-3
View File
@@ -1,3 +0,0 @@
Rails.application.configure do
config.solid_cache.connects_to = { database: { writing: :cache, reading: :cache } }
end