summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_worker_process.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-09-10 06:22:15 +0300
committerValentin Bartenev <vbart@nginx.com>2017-09-10 06:22:15 +0300
commit4953e5b5cba166bc12a92c686c5e000aaf272667 (patch)
treeb6ab5642b8b4709c8f5c0102bc9610066432eedf /src/nxt_worker_process.c
parent72c3e08158107398bdeb95fe993fe30999b78ebd (diff)
downloadunit-4953e5b5cba166bc12a92c686c5e000aaf272667.tar.gz
unit-4953e5b5cba166bc12a92c686c5e000aaf272667.tar.bz2
Configuration persistence.
Now configuration survives server reloads.
Diffstat (limited to '')
-rw-r--r--src/nxt_worker_process.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nxt_worker_process.c b/src/nxt_worker_process.c
index 6804f8ab..1a7d0c53 100644
--- a/src/nxt_worker_process.c
+++ b/src/nxt_worker_process.c
@@ -31,6 +31,7 @@ nxt_port_handler_t nxt_worker_process_port_handlers[] = {
NULL, /* NXT_PORT_MSG_START_WORKER */
NULL, /* NXT_PORT_MSG_SOCKET */
NULL, /* NXT_PORT_MSG_MODULES */
+ NULL, /* NXT_PORT_MSG_CONF_STORE */
nxt_port_rpc_handler,
nxt_port_rpc_handler,
};
@@ -47,6 +48,7 @@ nxt_port_handler_t nxt_app_process_port_handlers[] = {
NULL, /* NXT_PORT_MSG_START_WORKER */
NULL, /* NXT_PORT_MSG_SOCKET */
NULL, /* NXT_PORT_MSG_MODULES */
+ NULL, /* NXT_PORT_MSG_CONF_STORE */
nxt_port_rpc_handler,
nxt_port_rpc_handler,
};
@@ -63,6 +65,7 @@ nxt_port_handler_t nxt_router_process_port_handlers[] = {
NULL, /* NXT_PORT_MSG_START_WORKER */
NULL, /* NXT_PORT_MSG_SOCKET */
NULL, /* NXT_PORT_MSG_MODULES */
+ NULL, /* NXT_PORT_MSG_CONF_STORE */
nxt_port_rpc_handler,
nxt_port_rpc_handler,
};
@@ -79,6 +82,7 @@ nxt_port_handler_t nxt_discovery_process_port_handlers[] = {
NULL, /* NXT_PORT_MSG_START_WORKER */
NULL, /* NXT_PORT_MSG_SOCKET */
NULL, /* NXT_PORT_MSG_MODULES */
+ NULL, /* NXT_PORT_MSG_CONF_STORE */
nxt_port_rpc_handler,
nxt_port_rpc_handler,
};