From fdff9b06a589c2dd9eeb4ba6a088c78177c77e4e Mon Sep 17 00:00:00 2001 From: Keenan Brock Date: Fri, 19 Apr 2024 03:22:12 -0400 Subject: [PATCH] DEV: Peg redis client to 4.0 (#26104) Peg redis to 4.0 and explain it still does not work on 5.0 --- Gemfile | 4 +++- Gemfile.lock | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 2c937ee40ef..86c83728f90 100644 --- a/Gemfile +++ b/Gemfile @@ -31,7 +31,9 @@ gem "mail" gem "mini_mime" gem "mini_suffix" -gem "redis" +# config/initializers/006-mini_profiler.rb depends upon the RedisClient#call. +# Rework this when upgrading to redis client 5.0 and above. +gem "redis", "< 5.0" # This is explicitly used by Sidekiq and is an optional dependency. # We tell Sidekiq to use the namespace "sidekiq" which triggers this diff --git a/Gemfile.lock b/Gemfile.lock index d61ecf8c651..047b8b5919d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -636,7 +636,7 @@ DEPENDENCIES rbtrace rchardet redcarpet - redis + redis (< 5.0) redis-namespace rinku rotp