Configuration persistence.
Now configuration survives server reloads.
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user