Sha256: b47aea8ef7a6b952bd5de3c870892931c76b95827234a8a43feede41e169d252

Contents?: true

Size: 673 Bytes

Versions: 5

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", 3))
threads_count = Integer(ENV.fetch("MAX_THREADS", 5))
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

5 entries across 5 versions & 1 rubygems

Version Path
chr-0.4.13 templates/puma.rb
chr-0.4.12 templates/puma.rb
chr-0.4.11 templates/puma.rb
chr-0.4.10 templates/puma.rb
chr-0.4.9 templates/puma.rb