summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_master_process.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-07-12 20:21:17 +0300
committerValentin Bartenev <vbart@nginx.com>2017-07-12 20:21:17 +0300
commitc38bcb7d70729434893ae4d5f2f58a78a36d2bd5 (patch)
treee05be6b95fc1fda97255e9c03dbb89e8acf8842b /src/nxt_master_process.c
parent4f4061061b023cd88a2c54121853a8cb1922f100 (diff)
downloadunit-c38bcb7d70729434893ae4d5f2f58a78a36d2bd5.tar.gz
unit-c38bcb7d70729434893ae4d5f2f58a78a36d2bd5.tar.bz2
Controller: proper reconfiguration requests handling.
Now controller serializes all reconfiguration requests and waits for result from router.
Diffstat (limited to '')
-rw-r--r--src/nxt_master_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_master_process.c b/src/nxt_master_process.c
index c9617c9f..3b638389 100644
--- a/src/nxt_master_process.c
+++ b/src/nxt_master_process.c
@@ -145,7 +145,7 @@ nxt_master_start_controller_process(nxt_task_t *task, nxt_runtime_t *rt)
init->start = nxt_controller_start;
init->name = "controller process";
init->user_cred = &rt->user_cred;
- init->port_handlers = nxt_worker_process_port_handlers;
+ init->port_handlers = nxt_controller_process_port_handlers;
init->signals = nxt_worker_process_signals;
init->type = NXT_PROCESS_CONTROLLER;