# File lib/redis/connection/hiredis.rb, line 20 def connect(host, port, timeout) @connection.connect(host, port, timeout) rescue Errno::ETIMEDOUT raise Timeout::Error end