lib/radiator/api.rb
# Note, this methods only removes the uri.to_s if present but it does not
# call bump_failover, in order to avoid a race condition.
Note, this methods only removes the uri.to_s if present but it does not
call bump_failover, in order to avoid a race condition.
Note this methods only removes the uri . to_s if present but it does not call bump_failover in order to avoid a race condition .
def drop_current_failover_url(prefix)
      if @preferred_failover_urls.size == 1
        warning "Node #{uri} appears to be misconfigured but no other node is available, retrying ...", prefix
      else
        warning "Removing misconfigured node from failover urls: #{uri}, retrying ...", prefix
        @preferred_failover_urls.delete(uri.to_s)
        @failover_urls.delete(uri.to_s)
      end
    end
def drop_current_failover_url ( prefix ) if @preferred_failover_urls . size == 1 warning "Node #{uri} appears to be misconfigured but no other node is available, retrying ..." , prefix else warning "Removing misconfigured node from failover urls: #{uri}, retrying ..." , prefix @preferred_failover_urls . delete ( uri . to_s ) @failover_urls . delete ( uri . to_s ) end end
Note, this methods only removes the uri.to_s if present but it does not
call bump_failover, in order to avoid a race condition.
Note this methods only removes the uri . to_s if present but it does not call bump_failover in order to avoid a race condition .
prefix
<not_specific>