Skip to content

Commit

Permalink
Deprecate the synchrony driver
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Jun 9, 2020
1 parent dd4b6fe commit 8669555
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/redis/connection/synchrony.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8669555

Please sign in to comment.