diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-02-09 19:06:53 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-02-09 19:06:53 +0300 |
commit | fc496c19ac124c7412e1539d15dd99decc4ecd33 (patch) | |
tree | c9e5e3df045cdb99531b4b5dcd2d078cad673638 /src/nxt_router.c | |
parent | 9d683d37b162096b2329a28dbe2489535e029988 (diff) | |
download | unit-fc496c19ac124c7412e1539d15dd99decc4ecd33.tar.gz unit-fc496c19ac124c7412e1539d15dd99decc4ecd33.tar.bz2 |
Changed the default number of spare processes to 0.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c index e9e2685e..53761e4f 100644 --- a/src/nxt_router.c +++ b/src/nxt_router.c @@ -1265,7 +1265,7 @@ nxt_router_conf_create(nxt_task_t *task, nxt_router_temp_conf_t *tmcf, apcf.processes = 1; apcf.max_processes = 1; - apcf.spare_processes = 1; + apcf.spare_processes = 0; apcf.timeout = 0; apcf.res_timeout = 1000; apcf.idle_timeout = 15000; |