diff --git a/lib/redis/connection/synchrony.rb b/lib/redis/connection/synchrony.rb index 43839e967..990d14b7e 100644 --- a/lib/redis/connection/synchrony.rb +++ b/lib/redis/connection/synchrony.rb @@ -6,6 +6,11 @@ require "em-synchrony" require "hiredis/reader" +Kernel.warn( + "The redis synchrony driver is deprecated and will be removed in redis-rb 5.0. " \ + "We're looking for people to maintain it as a separate gem, see https://github.com/redis/redis-rb/issues/915" +) + class Redis module Connection class RedisClient < EventMachine::Connection