]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mworker: support a configurable maximum number of reloads
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 7 May 2019 15:49:33 +0000 (17:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 7 May 2019 17:09:01 +0000 (19:09 +0200)
commit27edc4b915083768d07a883f100edcbaa1e4e20a
tree60755360818064a33ca3ac03287f01ae1ba5545e
parentf656279347ec0901e06329c14729d264ddf6ea39
MINOR: mworker: support a configurable maximum number of reloads

This patch implements a new global parameter for the master-worker mode.
When setting the mworker-max-reloads value, a worker receive a SIGTERM
if its number of reloads is greater than this value.
doc/configuration.txt
include/proto/mworker.h
src/haproxy.c
src/mworker.c