Module: NewRelic::Agent::Instrumentation::Resque::Helper

Extended by:
Helper
Included in:
Helper
Defined in:
lib/new_relic/agent/instrumentation/resque/helper.rb

Instance Method Summary collapse

Instance Method Details

#resque_fork_per_job?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/new_relic/agent/instrumentation/resque/helper.rb', line 12

def resque_fork_per_job?
  ENV['FORK_PER_JOB'] != 'false' && NewRelic::LanguageSupport.can_fork?
end