opensearch-transport/lib/opensearch/transport/transport/connections/connection.rb
# Returns true if the connection is eligible to be resurrected as alive, false otherwise.
#
# @return [Boolean]
#
Returns true if the connection is eligible to be resurrected as alive, false otherwise.
Returns true if the connection is eligible to be resurrected as alive false otherwise .
def resurrectable?
            @state_mutex.synchronize {
              Time.now > @dead_since + ( @options[:resurrect_timeout] * 2 ** (@failures-1) )
            }
          end
def resurrectable? @state_mutex . synchronize { Time . now > @dead_since + ( @options [ :resurrect_timeout ] * 2 ** ( @failures - 1 ) ) } end
Returns true if the connection is eligible to be resurrected as alive, false otherwise.
Returns true if the connection is eligible to be resurrected as alive false otherwise .
None
Boolean