# File lib/redis/connection/synchrony.rb, line 74 def connect(host, port, timeout) conn = EventMachine.connect(host, port, RedisClient) do |c| c.pending_connect_timeout = [Float(timeout / 1_000_000), 0.1].max end setup_connect_callbacks(conn, Fiber.current) end