Sha256: 7345b0e38b00383d6608fbd54f9dfa6c0b422fb907feb4b4791245238c6be85a

Contents?: true

Size: 673 Bytes

Versions: 24

Compression:

Stored size: 673 Bytes

Contents

# https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server

# The environment variable WEB_CONCURRENCY may be set to a default value based
# on dyno size. To manually configure this value use heroku config:set
# WEB_CONCURRENCY.
workers Integer(ENV.fetch("WEB_CONCURRENCY", 2))
threads_count = Integer(ENV.fetch("MAX_THREADS", 2))
threads(threads_count, threads_count)

preload_app!

rackup      DefaultRackup
environment ENV.fetch("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
end

Version data entries

24 entries across 19 versions & 1 rubygems

Version Path
chr-0.5.8 test/rails_app/config/puma.rb
chr-0.5.7 test/rails_app/config/puma.rb
chr-0.5.7 templates/puma.rb
chr-0.5.6 test/rails_app/config/puma.rb
chr-0.5.6 templates/puma.rb
chr-0.5.5 templates/puma.rb
chr-0.5.5 test/rails_app/config/puma.rb
chr-0.5.4 test/rails_app/config/puma.rb
chr-0.5.4 templates/puma.rb
chr-0.5.3 test/rails_app/config/puma.rb
chr-0.5.3 templates/puma.rb
chr-0.5.1 templates/puma.rb
chr-0.5.0 templates/puma.rb
chr-0.4.25 templates/puma.rb
chr-0.4.24 templates/puma.rb
chr-0.4.23 templates/puma.rb
chr-0.4.22 templates/puma.rb
chr-0.4.21 templates/puma.rb
chr-0.4.20 templates/puma.rb
chr-0.4.19 templates/puma.rb