lib/new_relic/agent/instrumentation/memcache/prepend.rb in newrelic_rpm-9.1.0 vs lib/new_relic/agent/instrumentation/memcache/prepend.rb in newrelic_rpm-9.2.0
- old
+ new
@@ -82,10 +82,12 @@
def dalli_server_prepender
Module.new do
extend Helper
include NewRelic::Agent::Instrumentation::Memcache::Tracer
- # TODO: Dalli - 3.1.0 renamed send_multiget to pipelined_get, but the method is otherwise the same
+ # TODO: MAJOR VERSION
+ # Dalli - 3.1.0 renamed send_multiget to pipelined_get, but the method is otherwise the same
+ # Once we no longer support Dalli < 3.1.0, remove this conditional logic
if Gem::Version.new(::Dalli::VERSION) >= Gem::Version.new('3.1.0')
def pipelined_get(keys)
send_multiget_with_newrelic_tracing(keys) { super }
end
else