update redis cache and action cable env name
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user