Skip to content

Commit

Permalink
remove hiredis ssl not implemented exception
Browse files Browse the repository at this point in the history
  • Loading branch information
ke-miz authored Feb 21, 2022
1 parent 13c7a8e commit 86df222
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/redis/connection/hiredis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ def self.connect(config)

if config[:scheme] == "unix"
connection.connect_unix(config[:path], connect_timeout)
elsif config[:scheme] == "rediss" || config[:ssl]
raise NotImplementedError, "SSL not supported by hiredis driver"
else
connection.connect(config[:host], config[:port], connect_timeout)
end
Expand Down

0 comments on commit 86df222

Please sign in to comment.