Use solid cache for development
All checks were successful
Ruby CI / test (pull_request) Successful in 21s
All checks were successful
Ruby CI / test (pull_request) Successful in 21s
This commit is contained in:
parent
f8677f8a78
commit
652f64becc
2 changed files with 9 additions and 3 deletions
|
@ -10,8 +10,14 @@ default: &default
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
|
|
||||||
development:
|
development:
|
||||||
<<: *default
|
primary:
|
||||||
database: db/development.sqlite3
|
<<: *default
|
||||||
|
database: db/development.sqlite3
|
||||||
|
cache:
|
||||||
|
<<: *default
|
||||||
|
database: db/development_cache.sqlite3
|
||||||
|
migrations_paths: db/cache_migrate
|
||||||
|
|
||||||
|
|
||||||
# Warning: The database defined as "test" will be erased and
|
# Warning: The database defined as "test" will be erased and
|
||||||
# re-generated from your development database when you run "rake".
|
# re-generated from your development database when you run "rake".
|
||||||
|
|
|
@ -28,7 +28,7 @@ Rails.application.configure do
|
||||||
end
|
end
|
||||||
|
|
||||||
# Change this to :null_store to avoid any caching
|
# Change this to :null_store to avoid any caching
|
||||||
config.cache_store = :memory_store
|
config.cache_store = :solid_cache_store
|
||||||
|
|
||||||
# Store uploaded files on the local file system (see config/storage.yml for options).
|
# Store uploaded files on the local file system (see config/storage.yml for options).
|
||||||
config.active_storage.service = :local
|
config.active_storage.service = :local
|
||||||
|
|
Loading…
Reference in a new issue