2014-03-14 13:30:24 +01:00
|
|
|
preload_app true
|
2016-04-11 15:14:10 +02:00
|
|
|
worker_processes((ENV['WORKER_PROCESSES'] || 4).to_i)
|
2014-03-14 13:30:24 +01:00
|
|
|
timeout 10
|
|
|
|
|
|
|
|
before_fork do |_, _|
|
2015-07-30 23:44:00 +02:00
|
|
|
Sequel::DATABASES.each(&:disconnect)
|
2014-03-14 13:30:24 +01:00
|
|
|
end
|