in lib/elastic/transport/transport/connections/connection.rb [41:52]
def initialize(arguments={})
@host = arguments[:host].is_a?(Hash) ? Redacted.new(arguments[:host]) : arguments[:host]
@connection = arguments[:connection]
@options = arguments[:options] || {}
@verified = false
@state_mutex = Mutex.new
@options[:resurrect_timeout] ||= DEFAULT_RESURRECT_TIMEOUT
@dead = false
@failures = 0
end