Sha256: 4b18e9438376a77a2bad49c48ddcfe74c5339e1f50c36da844022ec649ab81e8
Contents?: true
Size: 466 Bytes
Versions: 5
Compression:
Stored size: 466 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
5 entries across 5 versions & 1 rubygems