diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-08-31 11:42:11 -0700 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-08-31 11:42:11 -0700 |
commit | fc687e050871bf114bcadff7ec86f688f4b8c0e3 (patch) | |
tree | 37d2593c1b3b448f15d4e0299ecb764e701dc66b | |
parent | db85a9a01546b9ff081bddd2f7532bd7480aa303 (diff) | |
download | unit-fc687e050871bf114bcadff7ec86f688f4b8c0e3.tar.gz unit-fc687e050871bf114bcadff7ec86f688f4b8c0e3.tar.bz2 |
Default value 1 for number of workers.
-rw-r--r-- | src/nxt_router.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |