Add documentation for HAProxy timeout configuration

This commit is contained in:
Paul Dubs 2025-02-23 10:42:47 +01:00
parent d615588b4a
commit 133b42529d

View File

@ -57,6 +57,12 @@ Service
For an explanation on :ref:`syslog_facilities` and :ref:`syslog_severity_level` For an explanation on :ref:`syslog_facilities` and :ref:`syslog_severity_level`
see tables in syslog configuration section. see tables in syslog configuration section.
.. cfgcmd:: set load-balancing haproxy service <name> timeout client
<seconds>
Set the maximum inactivity time on the client side for this service.
Value range 1-3600 seconds.
.. cfgcmd:: set load-balancing haproxy service <name> http-compression algorithm .. cfgcmd:: set load-balancing haproxy service <name> http-compression algorithm
<gzip | deflate | identity | raw-deflate> <gzip | deflate | identity | raw-deflate>
@ -184,6 +190,26 @@ Backend
For an explanation on :ref:`syslog_facilities` and :ref:`syslog_severity_level` For an explanation on :ref:`syslog_facilities` and :ref:`syslog_severity_level`
see tables in syslog configuration section. see tables in syslog configuration section.
.. cfgcmd:: set load-balancing haproxy backend <name> timeout check
<seconds>
Set the timeout in seconds for established connections.
Value range 1-3600 seconds.
.. cfgcmd:: set load-balancing haproxy backend <name> timeout connect
<seconds>
Set the maximum time to wait for a connection attempt to a server to succeed.
Value range 1-3600 seconds.
.. cfgcmd:: set load-balancing haproxy backend <name> timeout server
<seconds>
Set the maximum inactivity time on the server side.
Value range 1-3600 seconds.
Global Global
------- -------
@ -212,6 +238,26 @@ Global parameters
For an explanation on :ref:`syslog_facilities` and :ref:`syslog_severity_level` For an explanation on :ref:`syslog_facilities` and :ref:`syslog_severity_level`
see tables in syslog configuration section. see tables in syslog configuration section.
.. cfgcmd:: set load-balancing haproxy timeout check <seconds>
Set the timeout in seconds for established connections.
Value range 1-3600 seconds. Default is 5 seconds.
.. cfgcmd:: set load-balancing haproxy timeout client <seconds>
Set the maximum inactivity time on the client side.
Value range 1-3600 seconds. Default is 50 seconds.
.. cfgcmd:: set load-balancing haproxy timeout connect <seconds>
Set the maximum time to wait for a connection attempt to a server to succeed.
Value range 1-3600 seconds. Default is 10 seconds.
.. cfgcmd:: set load-balancing haproxy timeout server <seconds>
Set the maximum inactivity time on the server side.
Value range 1-3600 seconds. Default is 50 seconds.
Health checks Health checks
============= =============