Sha256: 1d6c8b37020f324ed93f620207e3f15f8f75aed16764816f424bc2bd762e690b

Contents?: true

Size: 404 Bytes

Versions: 6

Compression:

Stored size: 404 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
  ::TraceView.reconnect! if defined?(::TraceView)
end

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
traceview-3.8.4-java examples/puma_on_heroku_config.rb
traceview-3.8.4 examples/puma_on_heroku_config.rb
traceview-3.8.3-java examples/puma_on_heroku_config.rb
traceview-3.8.3 examples/puma_on_heroku_config.rb
traceview-3.8.2-java examples/puma_on_heroku_config.rb
traceview-3.8.2 examples/puma_on_heroku_config.rb