lib/new_relic/agent/agent.rb in newrelic_rpm-3.11.1.284 vs lib/new_relic/agent/agent.rb in newrelic_rpm-3.11.2.286
- old
+ new
@@ -649,10 +649,10 @@
# this clears the data, clears connection attempts, and
# waits a while to reconnect.
def handle_force_restart(error)
::NewRelic::Agent.logger.debug error.message
drop_buffered_data
- @service.reset_metric_id_cache if @service
+ @service.force_restart if @service
@connect_state = :pending
sleep 30
end
# when a disconnect is requested, stop the current thread, which