diff options
author | Steven Hardy <shardy@redhat.com> | 2016-11-07 11:35:05 +0000 |
---|---|---|
committer | Steven Hardy <shardy@redhat.com> | 2016-11-07 11:36:37 +0000 |
commit | 1bee7bc8fa0ca5ace330e54bc3e64d7f6692d5a7 (patch) | |
tree | 3c1c2fcf92bc83ce6989de2991668f99cb9d91e2 | |
parent | 8a4fc9c18e8ebfccc7f5bd0c4820c87bebd61d31 (diff) |
Increase haproxy timeouts
It's been proposed this may help with the
('Connection aborted.', BadStatusLine("''",)) errors.
This patch increase queue, server and client timeouts to 2m (default is 1m)
Related-Bug: #1638908
Change-Id: Ie4f059f3fad2271bb472697e85ede296eee91f5d
-rw-r--r-- | manifests/haproxy.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/haproxy.pp b/manifests/haproxy.pp index 7c5ff39..8b6b110 100644 --- a/manifests/haproxy.pp +++ b/manifests/haproxy.pp @@ -37,7 +37,7 @@ # # [*haproxy_default_timeout*] # The value to use as timeout in the HAProxy default config section. -# Defaults to [ 'http-request 10s', 'queue 1m', 'connect 10s', 'client 1m', 'server 1m', 'check 10s' ] +# Defaults to [ 'http-request 10s', 'queue 2m', 'connect 10s', 'client 2m', 'server 2m', 'check 10s' ] # # [*haproxy_listen_bind_param*] # A list of params to be added to the HAProxy listener bind directive. By @@ -445,7 +445,7 @@ class tripleo::haproxy ( $haproxy_service_manage = true, $haproxy_global_maxconn = 20480, $haproxy_default_maxconn = 4096, - $haproxy_default_timeout = [ 'http-request 10s', 'queue 1m', 'connect 10s', 'client 1m', 'server 1m', 'check 10s' ], + $haproxy_default_timeout = [ 'http-request 10s', 'queue 2m', 'connect 10s', 'client 2m', 'server 2m', 'check 10s' ], $haproxy_listen_bind_param = [ 'transparent' ], $haproxy_member_options = [ 'check', 'inter 2000', 'rise 2', 'fall 5' ], $haproxy_log_address = '/dev/log', |