From f65b4cb3f21955fc2e6ece0aa7501ba63a02d536 Mon Sep 17 00:00:00 2001 From: Ernesto Tagwerker Date: Thu, 22 Aug 2024 23:10:05 -0400 Subject: [PATCH] Add verification configuration to sidekiq --- config/initializers/redis.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 config/initializers/redis.rb diff --git a/config/initializers/redis.rb b/config/initializers/redis.rb new file mode 100644 index 0000000..66b1688 --- /dev/null +++ b/config/initializers/redis.rb @@ -0,0 +1,7 @@ +Sidekiq.configure_server do |config| + config.redis = { ssl_params: { verify_mode: OpenSSL::SSL::VERIFY_NONE } } +end + +Sidekiq.configure_client do |config| + config.redis = { ssl_params: { verify_mode: OpenSSL::SSL::VERIFY_NONE } } +end \ No newline at end of file