opensearch-transport/lib/opensearch/transport/transport/connections/connection.rb
# Marks this connection as dead, incrementing the `failures` counter and
# storing the current time as `dead_since`.
#
# @return [self]
#
Marks this connection as dead, incrementing the `failures` counter and
storing the current time as `dead_since`.
Marks this connection as dead incrementing the ` failures ` counter and storing the current time as ` dead_since ` .
def dead!
            @state_mutex.synchronize do
              @dead       = true
              @failures  += 1
              @dead_since = Time.now
            end
            self
          end
def dead! @state_mutex . synchronize do @dead = true @failures += 1 @dead_since = Time . now end self end
Marks this connection as dead, incrementing the `failures` counter and
storing the current time as `dead_since`.
Marks this connection as dead incrementing the ` failures ` counter and storing the current time as ` dead_since ` .
None
self