commit | db58b79ccd7e43283b48733de9c51c105dc3e246 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed May 21 13:57:23 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 23 14:29:11 2014 +0200 |
tree | 69d15a3bd750e57047faeac39020c4a1d7d44d44 | |
parent | 3e04838b8aa3624c6581e6a3fcc32436840ade0e [diff] |
MEDIUM: checks: simplify stopping mode notification using srv_set_stopping() Function check_set_server_drain() used to set a server into stopping state. Now it first checks if all configured checks are UP, and if the possibly tracked servers is not stopped, and only calls set_srv_stopping() after that. That also simplified the conditions to call the function, and its logic. The function was also renamed check_notify_stopping() to better report this change.