Skip to content

Commit

Permalink
keepalive + worker 6
Browse files Browse the repository at this point in the history
  • Loading branch information
sorah committed Oct 31, 2015
1 parent de8722e commit a19e5bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions 5f/config/nginx.conf
Expand Up @@ -11,6 +11,8 @@ http {
server isu12a:8080;
server isu12b:8080;
server isu12c:8080;
least_conn;
keepalive 8;
}

log_format ltsv "status:$status"
Expand Down
2 changes: 1 addition & 1 deletion 5f/webapp/ruby/unicorn_config.rb
@@ -1,6 +1,6 @@
require 'logger'

worker_processes 4
worker_processes 6
preload_app true
listen 8080
listen "/tmp/unicorn.sock", :backlog => 2048
Expand Down

0 comments on commit a19e5bf

Please sign in to comment.