From fc687e050871bf114bcadff7ec86f688f4b8c0e3 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Thu, 31 Aug 2017 11:42:11 -0700 Subject: Default value 1 for number of workers. --- src/nxt_router.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/nxt_router.c b/src/nxt_router.c index 97d6dada..08dd95ff 100644 --- a/src/nxt_router.c +++ b/src/nxt_router.c @@ -740,6 +740,8 @@ nxt_router_conf_create(nxt_task_t *task, nxt_router_temp_conf_t *tmcf, continue; } + apcf.workers = 1; + ret = nxt_conf_map_object(mp, application, nxt_router_app_conf, nxt_nitems(nxt_router_app_conf), &apcf); if (ret != NXT_OK) { -- cgit