diff options
Diffstat (limited to 'src/nxt_application.c')
-rw-r--r-- | src/nxt_application.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nxt_application.c b/src/nxt_application.c index 4689f622..23182401 100644 --- a/src/nxt_application.c +++ b/src/nxt_application.c @@ -46,9 +46,10 @@ nxt_discovery_start(nxt_task_t *task, void *data) nxt_debug(task, "DISCOVERY"); - b = nxt_discovery_modules(task, "build/nginext.*"); - rt = task->thread->runtime; + + b = nxt_discovery_modules(task, rt->modules); + main_port = rt->port_by_type[NXT_PROCESS_MASTER]; nxt_port_socket_write(task, main_port, NXT_PORT_MSG_MODULES, -1, |