Sha256: 0551902ce2e4699764bab2d9b15517a18d866d31e974bc1e6ee680910990f9d3

Contents?: true

Size: 329 Bytes

Versions: 6

Compression:

Stored size: 329 Bytes

Contents

workers Integer(ENV["WEB_CONCURRENCY"] || 2)

threads_count = Integer(ENV["MAX_THREADS"] || 4)
threads threads_count, threads_count

preload_app!

rackup DefaultRackup
port ENV["PORT"] || 3000
environment ENV["RACK_ENV"] || "development"

before_fork do
  <%= application_module %>::Application["persistence.rom"].disconnect
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
snowpack-1.0.0.alpha7 lib/snowpack/generators/application/templates/config/puma.rb.tt
snowpack-1.0.0.alpha6 lib/snowpack/generators/application/templates/config/puma.rb.tt
snowpack-1.0.0.alpha5 lib/snowpack/generators/application/templates/config/puma.rb.tt
snowpack-1.0.0.alpha4 lib/snowpack/generators/application/templates/config/puma.rb.tt
snowpack-1.0.0.alpha3 lib/snowpack/generators/application/templates/config/puma.rb.tt
snowpack-1.0.0.alpha2 lib/snowpack/generators/application/templates/config/puma.rb.tt