lib/new_relic/agent/agent.rb in newrelic_rpm-3.3.2.beta2 vs lib/new_relic/agent/agent.rb in newrelic_rpm-3.3.2
- old
+ new
@@ -1270,10 +1270,10 @@
end
def save_or_transmit_data
if NewRelic::DataSerialization.should_send_data?
log.debug "Sending data to New Relic Service"
- NewRelic::Agent.load_data
+ NewRelic::Agent.load_data unless NewRelic::Control.instance.disable_serialization?
harvest_and_send_errors
harvest_and_send_slowest_sample
harvest_and_send_slowest_sql
harvest_and_send_timeslice_data
else