lib/new_relic/agent/instrumentation/memcache/dalli.rb in newrelic_rpm-8.10.1 vs lib/new_relic/agent/instrumentation/memcache/dalli.rb in newrelic_rpm-8.11.0
- old
+ new
@@ -1,6 +1,5 @@
-# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.
# frozen_string_literal: true
module NewRelic
@@ -57,10 +56,10 @@
else
::Dalli::Server
end.class_eval do
include NewRelic::Agent::Instrumentation::Memcache::Tracer
- # TODO: Dalli - 3.1.0 renamed send_multiget to piplined_get, but the method is otherwise the same
+ # TODO: Dalli - 3.1.0 renamed send_multiget to pipelined_get, but the method is otherwise the same
if Gem::Version.new(::Dalli::VERSION) >= Gem::Version.new('3.1.0')
alias_method(:pipelined_get_without_newrelic_trace, :pipelined_get)
def pipelined_get(keys)
send_multiget_with_newrelic_tracing(keys) { pipelined_get_without_newrelic_trace(keys) }
end