Merge branch 'unicorn_timeout' into 'master'

Unicorn timeout increase

Due to changes in d07b2e09fe increased the default unicorn timeout to 1 hour.

Making `Slowpoke.timeout` configurable makes no sense for now as 60s is already high for all requests.

See merge request !297
This commit is contained in:
Marin Jankovski 2015-03-16 20:02:37 +00:00
commit f21dddc2d2
2 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@ external_url 'GENERATED_EXTERNAL_URL'
##################
## Tweak unicorn settings.
# unicorn['worker_timeout'] = 60
# unicorn['worker_timeout'] = 3600
# unicorn['worker_processes'] = 2
## Advanced settings

View File

@ -175,7 +175,7 @@ default['gitlab']['unicorn']['socket'] = '/var/opt/gitlab/gitlab-rails/sockets/g
default['gitlab']['unicorn']['pidfile'] = '/opt/gitlab/var/unicorn/unicorn.pid'
default['gitlab']['unicorn']['tcp_nopush'] = true
default['gitlab']['unicorn']['backlog_socket'] = 1024
default['gitlab']['unicorn']['worker_timeout'] = 60
default['gitlab']['unicorn']['worker_timeout'] = 3600
####
# Sidekiq