Sha256: e2b5d4e0f38a4ecdf4f2ff4d2dc2c6d90ce8cbca10b73f5fe290c1e6a2036852
Contents?: true
Size: 454 Bytes
Versions: 4
Compression:
Stored size: 454 Bytes
Contents
workers Integer(ENV['PUMA_WORKERS'] || 3) threads Integer(ENV['MIN_THREADS'] || 1), Integer(ENV['MAX_THREADS'] || 16) preload_app! environment ENV['RAILS_ENV'] || 'development' if %w(production staging).include?(ENV['RAILS_ENV']) bind "unix:///var/www/#{ENV['APP_NAME']}/shared/sockets/puma.sock" else port ENV['PORT'] || 3000 end on_worker_boot do ActiveSupport.on_load(:active_record) do ActiveRecord::Base.establish_connection end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gb-firestarter-0.3.1 | templates/puma.rb |
gb-firestarter-0.3.0 | templates/puma.rb |
gb-firestarter-0.2.0 | templates/puma.rb |
gb-firestarter-0.1.0 | templates/puma.rb |