Sha256: ea5ef0a5c68aff1dd086df2d4b9ebf0f7efada66fe1479e5a75483d6d20c0fd5
Contents?: true
Size: 489 Bytes
Versions: 3
Compression:
Stored size: 489 Bytes
Contents
# frozen_string_literal: true workers Integer(ENV['WEB_CONCURRENCY'] || 2) threads_count = Integer(ENV['MAX_THREADS'] || 3) 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
generapp-0.4.0 | templates/config/puma.rb |
generapp-0.3.2 | templates/config/puma.rb |
generapp-0.3.1 | templates/config/puma.rb |