From 2ab6049e2e9a6eba5f6e91b3a23f05b045ad9ee6 Mon Sep 17 00:00:00 2001 From: Ellie Re'em Date: Thu, 24 Oct 2024 21:20:07 +0200 Subject: [PATCH] Update maintenance page and linting for sidekiq.rb --- app/views/errors/internal_server_error.html.erb | 2 +- config/initializers/sidekiq.rb | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 config/initializers/sidekiq.rb diff --git a/app/views/errors/internal_server_error.html.erb b/app/views/errors/internal_server_error.html.erb index 053e82f8..5ca2735b 100644 --- a/app/views/errors/internal_server_error.html.erb +++ b/app/views/errors/internal_server_error.html.erb @@ -8,7 +8,7 @@

- It might take a while but we will be back soon! In the meantime, head back to the Homepage or if you feel this is an error let us know at team at soulmedicine.io + It might take a while but we will be back soon! In the meantime, head back to the Soulmedicine Homepage or to the Chayn Homepage if you feel this is an error let us know at team at soulmedicine.io

diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb new file mode 100644 index 00000000..8fc07ef4 --- /dev/null +++ b/config/initializers/sidekiq.rb @@ -0,0 +1,13 @@ +Sidekiq.configure_server do |config| + config.redis = { + url: ENV['REDIS_URL'], + ssl_params: { verify_mode: OpenSSL::SSL::VERIFY_NONE } + } +end + +Sidekiq.configure_client do |config| + config.redis = { + url: ENV['REDIS_URL'], + ssl_params: { verify_mode: OpenSSL::SSL::VERIFY_NONE } + } +end