diff --git a/Capfile b/Capfile index 34274dea2..c2c5f1a21 100644 --- a/Capfile +++ b/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" diff --git a/config/unicorn/production.rb b/config/unicorn/production.rb index bd23ffbeb..7bc44a605 100644 --- a/config/unicorn/production.rb +++ b/config/unicorn/production.rb @@ -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"