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
wice_grid-7.1.4 spec/support/test_app/config/puma.rb
wice_grid-7.1.3 spec/support/test_app/config/puma.rb
wice_grid-7.1.2 spec/support/test_app/config/puma.rb
wice_grid-7.1.1 spec/support/test_app/config/puma.rb
wice_grid-7.1.0 spec/support/test_app/config/puma.rb
wice_grid-6.1.3 spec/support/test_app/config/puma.rb
wice_grid-6.1.2 spec/support/test_app/config/puma.rb
wice_grid-6.1.1 spec/support/test_app/config/puma.rb
wice_grid-6.1.0 spec/support/test_app/config/puma.rb
disco_app-0.16.1.pre.sidekiq.pre.6.pre.release lib/generators/disco_app/templates/config/puma.rb
disco_app-0.3.0 lib/generators/disco_app/templates/config/puma.rb
disco_app-0.4.0 lib/generators/disco_app/templates/config/puma.rb
disco_app-0.4.1 lib/generators/disco_app/templates/config/puma.rb
disco_app-0.4.2 lib/generators/disco_app/templates/config/puma.rb
disco_app-0.4.3 lib/generators/disco_app/templates/config/puma.rb
disco_app-0.4.4 lib/generators/disco_app/templates/config/puma.rb
disco_app-0.5.0 lib/generators/disco_app/templates/config/puma.rb
disco_app-0.5.1 lib/generators/disco_app/templates/config/puma.rb
disco_app-0.5.2 lib/generators/disco_app/templates/config/puma.rb
disco_app-0.5.3 lib/generators/disco_app/templates/config/puma.rb