Sha256: 736d3599bb126417e487bb72536eac80328403ac82eb2845f295e24b0cf83253

Contents?: true

Size: 416 Bytes

Versions: 14

Compression:

Stored size: 416 Bytes

Contents

workers Integer(ENV['WEB_CONCURRENCY'] || 2)
threads_count = Integer(ENV['MAX_THREADS'] || 5)
threads threads_count, threads_count

preload_app!

rackup      DefaultRackup
port        ENV['PORT']     || 3000
environment ENV['RACK_ENV'] || 'development'

on_worker_boot do
  ::AppOpticsAPM.reconnect! if defined?(::AppOpticsAPM)
end

on_worker_shutdown do
  ::AppOpticsAPM.disconnect! if defined?(::AppOpticsAPM)
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
appoptics_apm-4.2.2 examples/puma_on_heroku_config.rb
appoptics_apm-4.2.1 examples/puma_on_heroku_config.rb
appoptics_apm-4.2.0 examples/puma_on_heroku_config.rb
appoptics_apm-4.0.9 examples/puma_on_heroku_config.rb
appoptics_apm-4.1.1 examples/puma_on_heroku_config.rb
appoptics_apm-4.0.8 examples/puma_on_heroku_config.rb
appoptics_apm-4.1.0 examples/puma_on_heroku_config.rb
appoptics_apm-4.0.7 examples/puma_on_heroku_config.rb
appoptics_apm-4.0.6 examples/puma_on_heroku_config.rb
appoptics_apm-4.0.5 examples/puma_on_heroku_config.rb
appoptics_apm-4.0.4 examples/puma_on_heroku_config.rb
appoptics_apm-4.0.3 examples/puma_on_heroku_config.rb
appoptics_apm-4.0.2 examples/puma_on_heroku_config.rb
appoptics_apm-4.0.1-x86_64-linux examples/puma_on_heroku_config.rb