Skip to content

Commit

Permalink
update solid cache settings
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienpoly committed Jan 14, 2025
1 parent f37108d commit e594855
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions config/cache.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
default: &default
database: cache
size_estimate_samples: 100
store_options:
max_age: <%= 1.month.to_i %>
max_size: <%= 512.megabytes %>
max_age: <%= 30.days.to_i %>
max_size: <%= 1.gigabytes %>
namespace: <%= Rails.env %>
expiry_method: :job
expiry_queue: :low

development:
<<: *default
Expand Down

0 comments on commit e594855

Please sign in to comment.