Sha256: 1129ba84467db973fe116bfa351b329ed0db3fa3866c7cedd62a6fd2026f2279

Contents?: true

Size: 552 Bytes

Versions: 13

Compression:

Stored size: 552 Bytes

Contents

workers Integer(ENV['WEB_CONCURRENCY'] || 1)
min_threads_count = Integer(ENV['RAILS_MIN_THREADS'] || 1)
max_threads_count = Integer(ENV['RAILS_MAX_THREADS'] || 1)
threads min_threads_count, max_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

13 entries across 13 versions & 1 rubygems

Version Path
decko-0.10.0 lib/decko/generators/decko/templates/config/puma.rb
decko-0.9.6 lib/decko/generators/decko/templates/config/puma.rb
decko-0.9.5 lib/decko/generators/decko/templates/config/puma.rb
decko-0.9.4 lib/decko/generators/decko/templates/config/puma.rb
decko-0.9.3 lib/decko/generators/decko/templates/config/puma.rb
decko-0.9.2 lib/decko/generators/decko/templates/config/puma.rb
decko-0.9.1 lib/decko/generators/decko/templates/config/puma.rb
decko-0.9.0 lib/decko/generators/decko/templates/config/puma.rb
decko-0.8.3 lib/decko/generators/decko/templates/config/puma.rb
decko-0.8.2 lib/decko/generators/decko/templates/config/puma.rb
decko-0.8.1 lib/decko/generators/decko/templates/config/puma.rb
decko-0.8.0 lib/decko/generators/decko/templates/config/puma.rb
decko-0.7.0 lib/decko/generators/decko/templates/config/puma.rb