Sha256: 787873559a1902b39a4ab32a7341d37639d3493c2f1e8f0e5cfe77e7207fedde

Contents?: true

Size: 497 Bytes

Versions: 2

Compression:

Stored size: 497 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.
# frozen_string_literal: true

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

2 entries across 2 versions & 1 rubygems

Version Path
newrelic_rpm-8.10.1 lib/new_relic/agent/instrumentation/resque/helper.rb
newrelic_rpm-8.10.0 lib/new_relic/agent/instrumentation/resque/helper.rb