Set gerrit http maxwait.
Set the timeout to 5000 minutes, which, due to a bug in gerrit really means 5 minutes, which is the documented default value. Change-Id: I85127cc44ed6f182a0e06083641d2d872f11d8b3
This commit is contained in:
parent
c6201f54b1
commit
7558862fde
@ -107,6 +107,15 @@ node default {
|
|||||||
# sshd.threads:
|
# sshd.threads:
|
||||||
# http://groups.google.com/group/repo-discuss/browse_thread/thread/b91491c185295a71
|
# http://groups.google.com/group/repo-discuss/browse_thread/thread/b91491c185295a71
|
||||||
|
|
||||||
|
# httpd.maxWait:
|
||||||
|
# 12:07 <@spearce> httpd.maxwait defaults to 5 minutes and is how long gerrit
|
||||||
|
# waits for an idle sshd.thread before aboring the http request
|
||||||
|
# 12:08 <@spearce> ironically
|
||||||
|
# 12:08 <@spearce> ProjectQosFilter passes this value as minutes
|
||||||
|
# 12:08 <@spearce> to a method that accepts milliseconds
|
||||||
|
# 12:09 <@spearce> so. you get 5 milliseconds before aborting
|
||||||
|
# thus, set it to 5000minutes until the bug is fixed.
|
||||||
|
|
||||||
node "review.openstack.org" {
|
node "review.openstack.org" {
|
||||||
include openstack_cron
|
include openstack_cron
|
||||||
class { 'openstack_server':
|
class { 'openstack_server':
|
||||||
@ -125,6 +134,7 @@ node "review.openstack.org" {
|
|||||||
core_packedgitlimit => '400m',
|
core_packedgitlimit => '400m',
|
||||||
core_packedgitwindowsize => '16k',
|
core_packedgitwindowsize => '16k',
|
||||||
sshd_threads => '100',
|
sshd_threads => '100',
|
||||||
|
httpd_maxwait => '5000min',
|
||||||
github_projects => [ {
|
github_projects => [ {
|
||||||
name => 'openstack/keystone',
|
name => 'openstack/keystone',
|
||||||
close_pull => 'true'
|
close_pull => 'true'
|
||||||
|
@ -40,6 +40,7 @@ node "review.stackforge.org" {
|
|||||||
ssl_key_file => '/etc/ssl/private/review.stackforge.org.key',
|
ssl_key_file => '/etc/ssl/private/review.stackforge.org.key',
|
||||||
ssl_chain_file => '/etc/ssl/certs/intermediate.crt',
|
ssl_chain_file => '/etc/ssl/certs/intermediate.crt',
|
||||||
email => "review@stackforge.org",
|
email => "review@stackforge.org",
|
||||||
|
httpd_maxwait => '5000min',
|
||||||
sshd_threads => '100',
|
sshd_threads => '100',
|
||||||
github_projects => [ {
|
github_projects => [ {
|
||||||
name => 'stackforge/MRaaS',
|
name => 'stackforge/MRaaS',
|
||||||
|
@ -43,6 +43,9 @@
|
|||||||
<% end -%>
|
<% end -%>
|
||||||
[httpd]
|
[httpd]
|
||||||
listenUrl = proxy-https://*:8081/
|
listenUrl = proxy-https://*:8081/
|
||||||
|
<% if httpd_maxwait != "" -%>
|
||||||
|
maxWait = <%= httpd_maxwait %>
|
||||||
|
<% end -%>
|
||||||
<% if httpd_acceptorthreads != "" -%>
|
<% if httpd_acceptorthreads != "" -%>
|
||||||
acceptorThreads = <%= httpd_acceptorthreads %>
|
acceptorThreads = <%= httpd_acceptorthreads %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user