From c89d3d0e431c03e6257f5bd775dcc65155991e2e Mon Sep 17 00:00:00 2001 From: Jeremy Prevost Date: Thu, 20 Aug 2026 10:57:44 -0400 Subject: [PATCH] Update to redis config This aligns with Heroku docs and our other apps and addresses errors we have been getting in logs. https://devcenter.heroku.com/articles/connecting-heroku-redis#connecting-in-ruby https://github.com/MITLibraries/timdex-ui/blob/main/config/environments/production.rb#L57 --- config/environments/production.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 8e03c1b..6aaa258 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -57,7 +57,10 @@ config.active_support.report_deprecations = false # Replace the default in-process memory cache store with a durable alternative. - config.cache_store = :redis_cache_store, { url: ENV['REDIS_URL'] } + config.cache_store = :redis_cache_store, { + url: ENV['REDIS_URL'], + ssl_params: { verify_mode: OpenSSL::SSL::VERIFY_NONE } + } # Replace the default in-process and non-durable queuing backend for Active Job. # config.active_job.queue_adapter = :resque