Sha256: 89d73872985d076363f657d24536fd5548efb4ea11d5bdbc920e7dd2d4cf0b31
Contents?: true
Size: 674 Bytes
Versions: 15
Compression:
Stored size: 674 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details. DependencyDetection.defer do named :puma depends_on do defined?(::Puma) && defined?(::Puma::Const::VERSION) && NewRelic::VersionNumber.new(::Puma::Const::VERSION) > NewRelic::VersionNumber.new("2.0.0") && ::Puma.respond_to?(:cli_config) end executes do ::NewRelic::Agent.logger.info 'Installing Puma cluster mode support' end executes do Puma.cli_config.options[:worker_boot] << Proc.new do ::NewRelic::Agent.after_fork(:force_reconnect => true) end end end
Version data entries
15 entries across 15 versions & 1 rubygems