remove preload app on production unicorn

This commit is contained in:
r888888888
2016-06-17 10:03:11 -07:00
parent 4622656abb
commit 893d69e99a
2 changed files with 2 additions and 2 deletions

View File

@@ -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"

View File

@@ -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"