From 2552a78d159743b5fbd79bd3fe29a6ac99f4b025 Mon Sep 17 00:00:00 2001 From: Etienne Ischer Date: Fri, 13 Aug 2021 23:50:36 +0200 Subject: [PATCH] update redis cache and action cable env name --- config/cable.yml | 2 +- config/environments/production.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/cable.yml b/config/cable.yml index 0268ca0..2a33743 100644 --- a/config/cable.yml +++ b/config/cable.yml @@ -7,5 +7,5 @@ test: production: 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 diff --git a/config/environments/production.rb b/config/environments/production.rb index d80d81f..3a3154d 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -56,7 +56,7 @@ Rails.application.configure do config.log_tags = [ :request_id ] # 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). # config.active_job.queue_adapter = :resque