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
@ -800,6 +800,9 @@ void init(int argc, char **argv)
|
|||||||
exit(2);
|
exit(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Apply server states */
|
||||||
|
apply_server_state();
|
||||||
|
|
||||||
global_listener_queue_task = task_new();
|
global_listener_queue_task = task_new();
|
||||||
if (!global_listener_queue_task) {
|
if (!global_listener_queue_task) {
|
||||||
Alert("Out of memory when initializing global task\n");
|
Alert("Out of memory when initializing global task\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user