Sha256: ebe91b46ef6a461cdea6258657fdf0c7f0b340655d4ad86f9fbdf5dc2118609d
Contents?: true
Size: 457 Bytes
Versions: 14
Compression:
Stored size: 457 Bytes
Contents
listen '0.0.0.0:8080', tcp_nopush: true pid '/app/tmp/pids/unicorn.pid' preload_app ENV.fetch('UNICORN_PRELOAD_APP', '1') == '1' timeout ENV.fetch('UNICORN_TIMEOUT', 60).to_i worker_processes ENV.fetch('UNICORN_WORKER_PROCESSES', 8).to_i before_fork do |_server, _worker| ActiveRecord::Base.connection.disconnect! if defined?(ActiveRecord) end after_fork do |_server, _worker| ActiveRecord::Base.establish_connection if defined?(ActiveRecord) end
Version data entries
14 entries across 14 versions & 1 rubygems