lib/dalli/pipelined_getter.rb
##
# This loops through the servers that have keys in
# our set, sending the noop to terminate the set of queries.
##
This loops through the servers that have keys in
our set, sending the noop to terminate the set of queries.
This loops through the servers that have keys in our set sending the noop to terminate the set of queries .
def finish_queries(servers)
      deleted = []
      servers.each do |server|
        next unless server.alive?
        begin
          finish_query_for_server(server)
        rescue Dalli::NetworkError
          raise
        rescue Dalli::DalliError
          deleted.append(server)
        end
      end
      servers.delete_if { |server| deleted.include?(server) }
    rescue Dalli::NetworkError
      abort_without_timeout(servers)
      raise
    end
def finish_queries ( servers ) deleted = [ ] servers . each do | server | next unless server . alive? begin finish_query_for_server ( server ) rescue Dalli :: NetworkError raise rescue Dalli :: DalliError deleted . append ( server ) end end servers . delete_if { | server | deleted . include? ( server ) } rescue Dalli :: NetworkError abort_without_timeout ( servers ) raise end
This loops through the servers that have keys in
our set, sending the noop to terminate the set of queries.
This loops through the servers that have keys in our set sending the noop to terminate the set of queries .
servers
<not_specific>