mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-21 18:42:29 +01:00
Preload app
This commit is contained in:
parent
b2e001a706
commit
311682a137
@ -1,2 +1,7 @@
|
||||
worker_processes 4 # amount of unicorn workers to spin up
|
||||
timeout 30 # restarts workers that hang for 30 seconds
|
||||
preload_app true
|
||||
worker_processes 4
|
||||
timeout 10
|
||||
|
||||
before_fork do |_, _|
|
||||
Sequel::DATABASES.each { |db| db.disconnect }
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user