Commit 29f99000 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'backlog_socket' into 'master'

Use the default Unicorn socket backlog value: 1024

See merge request !1087
parents cbb44b9d e645b9a9
...@@ -7,6 +7,7 @@ v 7.3.0 ...@@ -7,6 +7,7 @@ v 7.3.0
- Better search with filtering, pagination etc - Better search with filtering, pagination etc
- Added a checkbox to toggle line wrapping in diff (Yuriy Glukhov) - Added a checkbox to toggle line wrapping in diff (Yuriy Glukhov)
- Prevent project stars duplication when fork project - Prevent project stars duplication when fork project
- Use the default Unicorn socket backlog value of 1024
- Support Unix domain sockets for Redis - Support Unix domain sockets for Redis
- Store session Redis keys in 'session:gitlab:' namespace - Store session Redis keys in 'session:gitlab:' namespace
- Deprecate LDAP account takeover based on partial LDAP email / GitLab username match - Deprecate LDAP account takeover based on partial LDAP email / GitLab username match
......
...@@ -28,9 +28,10 @@ worker_processes 2 ...@@ -28,9 +28,10 @@ worker_processes 2
# "current" directory that Capistrano sets up. # "current" directory that Capistrano sets up.
working_directory "/home/git/gitlab" # available in 0.94.0+ working_directory "/home/git/gitlab" # available in 0.94.0+
# listen on both a Unix domain socket and a TCP port, # Listen on both a Unix domain socket and a TCP port.
# we use a shorter backlog for quicker failover when busy # If you are load-balancing multiple Unicorn masters, lower the backlog
listen "/home/git/gitlab/tmp/sockets/gitlab.socket", :backlog => 64 # setting to e.g. 64 for faster failover.
listen "/home/git/gitlab/tmp/sockets/gitlab.socket", :backlog => 1024
listen "127.0.0.1:8080", :tcp_nopush => true listen "127.0.0.1:8080", :tcp_nopush => true
# nuke workers after 30 seconds instead of 60 seconds (the default) # nuke workers after 30 seconds instead of 60 seconds (the default)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment