Skip to content

Commit

Permalink
Merge pull request #632 from codeforjapan/fix-session-production
Browse files Browse the repository at this point in the history
fix session in production
  • Loading branch information
ayuki-joto authored Oct 29, 2024
2 parents 1f777d8 + 3dc8b20 commit a5e46cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
# Use a different cache store in production.
# config.cache_store = :mem_cache_store
config.cache_store = :redis_cache_store, { url: ENV.fetch("REDIS_CACHE_URL", nil) }
config.session_store(:cache_store, key: "decidim_session")

# 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 a5e46cc

Please sign in to comment.