commit | 203ec5a2b566bfd731538ad4ea21a849b79412ad | [log] [tgz] |
---|---|---|
author | Cyril Bonté <cyril.bonte@free.fr> | Thu Mar 23 22:44:13 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Mar 23 23:03:57 2017 +0100 |
tree | 9c239554902328aec712bab07809377fefca618d | |
parent | 1a943c48fb7bca16cb0c1d24609b2a0168fa6932 [diff] |
MEDIUM: global: add a 'hard-stop-after' option to cap the soft-stop time When SIGUSR1 is received, haproxy enters in soft-stop and quits when no connection remains. It can happen that the instance remains alive for a long time, depending on timeouts and traffic. This option ensures that soft-stop won't run for too long. Example: global hard-stop-after 30s # Once in soft-stop, the instance will remain # alive for at most 30 seconds.