Sha256: 99fa0c539dfec2d980682c4df1a3b4b296332d23ad1ded2fb964ea75d0b51329

Contents?: true

Size: 245 Bytes

Versions: 1

Compression:

Stored size: 245 Bytes

Contents

if defined?(::Puma) && ::Puma.respond_to?(:cli_config)
  Appsignal.logger.info('Loading Puma integration')

  if ::Puma.cli_config
    ::Puma.cli_config.options[:before_worker_shutdown] << Proc.new do |id|
      Appsignal.stop
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
appsignal-0.12.beta.39 lib/appsignal/integrations/puma.rb