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