lib/new_relic/agent/harvester.rb in newrelic_rpm-9.8.0 vs lib/new_relic/agent/harvester.rb in newrelic_rpm-9.9.0

- old
+ new

@@ -36,10 +36,10 @@ def restart_in_children_enabled? NewRelic::Agent.config[:restart_thread_in_children] end def harvest_thread_enabled? - !NewRelic::Agent.config[:disable_harvest_thread] + !NewRelic::Agent.config[:disable_harvest_thread] && !NewRelic::Agent.config[:'serverless_mode.enabled'] end def restart_harvest_thread @after_forker.after_fork(:force_reconnect => true) end