vendor/plugins/newrelic_rpm/lib/newrelic/agent/agent.rb
# this method makes sure that the agent is running. it's important
# for passenger where processes are forked and the agent is dormant
#
this method makes sure that the agent is running. it's important
for passenger where processes are forked and the agent is dormant
this method makes sure that the agent is running . it ' s important for passenger where processes are forked and the agent is dormant
def ensure_started
      return unless @prod_mode_enabled && !@invalid_license
      if @worker_thread.nil? || !@worker_thread.alive?
        launch_worker_thread
        @stats_engine.spawn_sampler_thread
     end
    end
def ensure_started return unless @prod_mode_enabled && ! @invalid_license if @worker_thread . nil? || ! @worker_thread . alive? launch_worker_thread @stats_engine . spawn_sampler_thread end end
this method makes sure that the agent is running.
this method makes sure that the agent is running .