commit | 3e04838b8aa3624c6581e6a3fcc32436840ade0e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed May 21 10:30:54 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 23 14:29:11 2014 +0200 |
tree | a63647bd8c6fda35be2c63290c1405a6bbf7f495 | |
parent | 4eec547f32fd111d321483fd4f249a1cb78a3c82 [diff] |
MEDIUM: checks: simplify success notification using srv_set_running() Function check_set_server_up() used to set a server up. Now it first checks if all configured checks are UP, and if all tracked servers are UP, and only calls set_srv_running() after that. That also simplified the conditions to call the function, and its logic. The function was also renamed check_notify_success() to better report this change.