Method: NewRelic::Agent::WorkerLoop#keep_running?

Defined in:
lib/new_relic/agent/worker_loop.rb

#keep_running?Boolean

a simple accessor for @should_run

Returns:

  • (Boolean)
[View source]

62
63
64
# File 'lib/new_relic/agent/worker_loop.rb', line 62

def keep_running?
  @should_run && under_duration? && under_limit?
end