update redis cache and action cable env name

This commit is contained in:
2021-08-13 23:50:36 +02:00
parent 1dc925ee9e
commit 2552a78d15
2 changed files with 2 additions and 2 deletions

View File

@@ -7,5 +7,5 @@ test:
production: production:
adapter: redis adapter: redis
url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %> url: <%= ENV.fetch("REDIS_ACTION_CABLE_URL") { "redis://localhost:6379/1" } %>
channel_prefix: northwhale2_production channel_prefix: northwhale2_production

View File

@@ -56,7 +56,7 @@ Rails.application.configure do
config.log_tags = [ :request_id ] config.log_tags = [ :request_id ]
# Use a different cache store in production. # Use a different cache store in production.
config.cache_store = :redis_cache_store, { url: ENV['HEROKU_REDIS_PURPLE_TLS_URL'] } config.cache_store = :redis_cache_store, { url: ENV['REDIS_RAILS_CACHE_URL'] }
# Use a real queuing backend for Active Job (and separate queues per environment). # Use a real queuing backend for Active Job (and separate queues per environment).
# config.active_job.queue_adapter = :resque # config.active_job.queue_adapter = :resque