Sha256: c0f34a64b833835d934fbc5a4828694b29fd3c1ee5866f7a37b8829bc972acab
Contents?: true
Size: 478 Bytes
Versions: 2
Compression:
Stored size: 478 Bytes
Contents
# https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server workers Integer(ENV['PUMA_WORKERS'] || 3) threads Integer(ENV['MIN_THREADS'] || 1), Integer(ENV['MAX_THREADS'] || 16) preload_app! rackup DefaultRackup port ENV['PORT'] || 3000 environment ENV['RACK_ENV'] || 'development' on_worker_boot do # worker specific setup ActiveSupport.on_load(:active_record) do ActiveRecord::Base.establish_connection end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pah-0.0.15 | lib/pah/files/config/puma.rb |
pah-0.0.14 | lib/pah/files/config/puma.rb |