Sha256: caba1e970a72edf5a9a4d92dd666e483a6b778355475a5fda438ad3154fb3567

Contents?: true

Size: 466 Bytes

Versions: 5

Compression:

Stored size: 466 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.

module NewRelic
  module Agent
    module Instrumentation
      module Resque
        module Helper
          extend self

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
newrelic_rpm-8.2.0 lib/new_relic/agent/instrumentation/resque/helper.rb
newrelic_rpm-8.1.0 lib/new_relic/agent/instrumentation/resque/helper.rb
newrelic_rpm-8.0.0 lib/new_relic/agent/instrumentation/resque/helper.rb
newrelic_rpm-7.2.0 lib/new_relic/agent/instrumentation/resque/helper.rb
newrelic_rpm-7.1.0 lib/new_relic/agent/instrumentation/resque/helper.rb