lib/elasticsearch/transport/transport/connections/connection.rb in elasticsearch-transport-1.0.15 vs lib/elasticsearch/transport/transport/connections/connection.rb in elasticsearch-transport-1.0.16.pre
- old
+ new
@@ -27,9 +27,10 @@
@connection = arguments[:connection]
@options = arguments[:options] || {}
@state_mutex = Mutex.new
@options[:resurrect_timeout] ||= DEFAULT_RESURRECT_TIMEOUT
+ @dead = false
@failures = 0
end
# Returns the complete endpoint URL with host, port, path and serialized parameters.
#