Up the haproxy timeout for git-fe*
Currently we are hitting the limit on cloning nova (and apparently maybe neutron) where the connection is reset during the git-upload-pack and the clone fails. Try increasing the HAProxy defaults. Change-Id: I0072742f82a54b492395cb7db45e2946c6d841c7
This commit is contained in:
parent
af38519fdc
commit
2213b782df
@ -51,6 +51,21 @@ class openstack_project::git (
|
|||||||
'daemon' => '',
|
'daemon' => '',
|
||||||
'stats' => 'socket /var/lib/haproxy/stats user root group root mode 0600 level admin'
|
'stats' => 'socket /var/lib/haproxy/stats user root group root mode 0600 level admin'
|
||||||
},
|
},
|
||||||
|
defaults_options => {
|
||||||
|
'log' => 'global',
|
||||||
|
'stats' => 'enable',
|
||||||
|
'option' => 'redispatch',
|
||||||
|
'retries' => '3',
|
||||||
|
'timeout' => [
|
||||||
|
'http-request 10s',
|
||||||
|
'queue 1m',
|
||||||
|
'connect 10s',
|
||||||
|
'client 2m',
|
||||||
|
'server 2m',
|
||||||
|
'check 10s',
|
||||||
|
],
|
||||||
|
'maxconn' => '8000',
|
||||||
|
},
|
||||||
}
|
}
|
||||||
# The three listen defines here are what the world will hit.
|
# The three listen defines here are what the world will hit.
|
||||||
haproxy::listen { 'balance_git_http':
|
haproxy::listen { 'balance_git_http':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user