Sha256: 344612cdccde76899e2d846aeafb3b8f2fc32f0bb09de3d78afa8142010e4c2e
Contents?: true
Size: 543 Bytes
Versions: 5
Compression:
Stored size: 543 Bytes
Contents
# encoding: utf-8 LibraryDetection.defer do named :puma def oa_puma_hooks Puma.cli_config.options[:worker_boot] || Puma.cli_config.options[:before_worker_boot] end depends_on do defined?(::Puma) && defined?(::Puma::Const::VERSION) && ::Puma.respond_to?(:cli_config) && !oa_puma_hooks.nil? end executes do OneApm::Manager.logger.info 'Installing Puma support' end executes do oa_puma_hooks << Proc.new do OneApm::Manager.agent.after_fork(:force_reconnect => true) end end end
Version data entries
5 entries across 5 versions & 1 rubygems