Skip to content

Commit

Permalink
fixed setting cache folder names
Browse files Browse the repository at this point in the history
  • Loading branch information
stuzart committed Nov 8, 2024
1 parent a4f67cd commit b0faced
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# config.cache_store = :null_store
# end
config.cache_store = :file_store, "#{Rails.root}/tmp/cache/dev-cache"
config.settings_cache_store = ActiveSupport::Cache::FileStore.new("#{Rails.root}/tmp/cache/dev-cache/settings-dev-cache")
config.settings_cache_store = ActiveSupport::Cache::FileStore.new("#{Rails.root}/tmp/cache/dev-cache/settings-cache")

config.public_file_server.enabled = true

Expand Down
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

# Use a different cache store in production.
config.cache_store = :file_store, "#{Rails.root}/tmp/cache"
config.settings_cache_store = ActiveSupport::Cache::FileStore.new("#{Rails.root}/tmp/cache/settings-dev-cache")
config.settings_cache_store = ActiveSupport::Cache::FileStore.new("#{Rails.root}/tmp/cache/settings-cache")

# Use a real queuing backend for Active Job (and separate queues per environment).
# config.active_job.queue_adapter = :resque
Expand Down

0 comments on commit b0faced

Please sign in to comment.