Files
ch420/config/puma.rb
T

10 lines
237 B
Ruby
Raw Normal View History

2015-10-05 16:42:27 +02:00
workers Integer(ENV['WEB_CONCURRENCY'] || 2)
threads_count = Integer(ENV['MAX_THREADS'] || 5)
threads threads_count, threads_count
preload_app!
2015-10-06 09:13:44 +02:00
rackup DefaultRackup
port ENV['PORT'] || 3000
2015-10-05 16:42:27 +02:00
environment ENV['RACK_ENV'] || 'development'