Skip to content

Commit 8669555

Browse files
committed
Deprecate the synchrony driver
1 parent dd4b6fe commit 8669555

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/redis/connection/synchrony.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
require "em-synchrony"
77
require "hiredis/reader"
88

9+
Kernel.warn(
10+
"The redis synchrony driver is deprecated and will be removed in redis-rb 5.0. " \
11+
"We're looking for people to maintain it as a separate gem, see https://github.com/redis/redis-rb/issues/915"
12+
)
13+
914
class Redis
1015
module Connection
1116
class RedisClient < EventMachine::Connection

0 commit comments

Comments
 (0)