Method: Dalli::Ring#pipeline_consume_and_ignore_responses

Defined in:
lib/dalli/ring.rb

#pipeline_consume_and_ignore_responsesObject



84
85
86
87
88
89
90
91
# File 'lib/dalli/ring.rb', line 84

def pipeline_consume_and_ignore_responses
  @servers.each do |s|
    s.request(:noop)
  rescue Dalli::NetworkError
    # Ignore this error, as it indicates the socket is unavailable
    # and there's no need to flush
  end
end