Skip to content

A platform for community discussion. Free, open, simple.

DEV: Peg redis client to 4.0 (#26104)

Keenan Brockfdff9b06a589
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