Sha256: d65f6793d284d3cea93eb700a77bb9139cc50e64c2ae065597637768408193e1
Contents?: true
Size: 494 Bytes
Versions: 1
Compression:
Stored size: 494 Bytes
Contents
workers Integer(ENV['WEB_CONCURRENCY'] || 1) threads_count = Integer(ENV['RAILS_MAX_THREADS'] || 8) threads Integer(threads_count / 2), 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blueberry_rails-0.4.1 | templates/puma.rb |