mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-22 11:02:30 +01:00
12 lines
283 B
Ruby
12 lines
283 B
Ruby
# frozen_string_literal: true
|
|
|
|
workers Integer(ENV['WEB_CONCURRENCY'] || 2)
|
|
threads_count = Integer(ENV['MAX_THREADS'] || 5)
|
|
threads threads_count, threads_count
|
|
|
|
preload_app!
|
|
|
|
rackup DefaultRackup
|
|
port ENV['PORT'] || 3000
|
|
environment ENV['APP_ENV'] || 'developments'
|