mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-26 00:27:54 -04:00
MINOR: init: server state loaded from file
With this patch, HAProxy reads the content of server state file and update state of servers accordingly.
This commit is contained in:
parent
01c6cc3670
commit
fecd2b53af
1 changed files with 3 additions and 0 deletions
|
|
@ -800,6 +800,9 @@ void init(int argc, char **argv)
|
|||
exit(2);
|
||||
}
|
||||
|
||||
/* Apply server states */
|
||||
apply_server_state();
|
||||
|
||||
global_listener_queue_task = task_new();
|
||||
if (!global_listener_queue_task) {
|
||||
Alert("Out of memory when initializing global task\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue