Sha256: 8848c50198c8ca256c3ca75eb6d22b8639bbc1626d6a49f16af629ad7f891db8

Contents?: true

Size: 475 Bytes

Versions: 125

Compression:

Stored size: 475 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
  # Worker specific setup for Rails 4.1+
  # See: https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server#on-worker-boot
  ActiveRecord::Base.establish_connection
end

Version data entries

125 entries across 125 versions & 5 rubygems

Version Path
pwice_grid-6.1.1 spec/support/test_app/config/puma.rb
pwice_grid-6.1.0 spec/support/test_app/config/puma.rb
pwice_grid-5.0.2 spec/support/test_app/config/puma.rb
pwice_grid-5.0.1 spec/support/test_app/config/puma.rb
pwice_grid-5.0.0 spec/support/test_app/config/puma.rb
wice_grid-4.1.0 spec/support/test_app/config/puma.rb
startblock-1.5 templates/puma.rb
startblock-1.4 templates/puma.rb
wagon_rails-0.5.7 templates/puma.rb
wagon_rails-0.5.5 templates/puma.rb
wagon_rails-0.5.4 templates/puma.rb
wagon_rails-0.5.3 templates/puma.rb
wagon_rails-0.5.2 templates/puma.rb
wagon_rails-0.5.1 templates/puma.rb
wagon_rails-0.5.0 templates/puma.rb
wagon_rails-0.4.6 templates/puma.rb
wagon_rails-0.4.5 templates/puma.rb
wagon_rails-0.4.4 templates/puma.rb
wagon_rails-0.4.3 templates/puma.rb
wagon_rails-0.4.2 templates/puma.rb