Sha256: 41b0ca80cf3c6334a66824b34402449e2f12d52948b8a205ebb933f4f7a5b1f8
Contents?: true
Size: 481 Bytes
Versions: 19
Compression:
Stored size: 481 Bytes
Contents
workers Integer(ENV['WEB_CONCURRENCY'] || 2) threads_count = Integer(ENV['RAILS_MAX_THREADS'] || 5) threads threads_count, threads_count preload_app! rackup DefaultRackup port ENV['PORT'] || 3000 environment ENV['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 ActiveRecord::Base.establish_connection end
Version data entries
19 entries across 19 versions & 2 rubygems