diff --git a/app/models/daily_mail_scheduler.rb b/app/models/daily_mail_scheduler.rb index 16a26e2..8ee3023 100644 --- a/app/models/daily_mail_scheduler.rb +++ b/app/models/daily_mail_scheduler.rb @@ -64,9 +64,17 @@ def scheduled_users private def redis - @redis ||= begin - RedisClient.config(url: Settings.redis_url).new_client - end + @redis ||= + begin + config = RedisClient.config( + url: Settings.redis_url, + ssl_params: { + verify_mode: OpenSSL::SSL::VERIFY_NONE + } + ) + + config.new_client + end end def status_for_user(user)