remove preload app on production unicorn
This commit is contained in:
2
Capfile
2
Capfile
@@ -13,4 +13,4 @@ require 'capistrano3/unicorn'
|
||||
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
|
||||
Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r }
|
||||
|
||||
after "deploy:published", "unicorn:restart"
|
||||
after "deploy:published", "unicorn:reload"
|
||||
|
||||
@@ -4,7 +4,7 @@ app_path = "/var/www/danbooru2/current"
|
||||
# Set unicorn options
|
||||
worker_processes 22
|
||||
|
||||
preload_app true
|
||||
preload_app false
|
||||
timeout 180
|
||||
listen "127.0.0.1:9000"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user