diff --git a/config/unicorn/production.rb b/config/unicorn/production.rb index 6df356592..1ecc2c75b 100644 --- a/config/unicorn/production.rb +++ b/config/unicorn/production.rb @@ -6,7 +6,7 @@ worker_processes 22 timeout 180 #listen "127.0.0.1:9000", :tcp_nopush => true -listen "/tmp/.unicorn.sock", :backlog => 256 +listen "/tmp/.unicorn.sock", :backlog => 512 # Spawn unicorn master worker for user apps (group: apps) user 'albert', 'albert' diff --git a/config/unicorn/staging.rb b/config/unicorn/staging.rb index 669dce85c..4bb84cebe 100644 --- a/config/unicorn/staging.rb +++ b/config/unicorn/staging.rb @@ -6,7 +6,7 @@ worker_processes 2 preload_app true timeout 180 -listen "127.0.0.1:9000" +listen "/tmp/.unicorn.sock", :backlog => 512 # Spawn unicorn master worker for user apps (group: apps) user 'danbooru', 'danbooru'