summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf_validation.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-02-09 19:06:53 +0300
committerValentin Bartenev <vbart@nginx.com>2018-02-09 19:06:53 +0300
commitfc496c19ac124c7412e1539d15dd99decc4ecd33 (patch)
treec9e5e3df045cdb99531b4b5dcd2d078cad673638 /src/nxt_conf_validation.c
parent9d683d37b162096b2329a28dbe2489535e029988 (diff)
downloadunit-fc496c19ac124c7412e1539d15dd99decc4ecd33.tar.gz
unit-fc496c19ac124c7412e1539d15dd99decc4ecd33.tar.bz2
Changed the default number of spare processes to 0.
Diffstat (limited to 'src/nxt_conf_validation.c')
-rw-r--r--src/nxt_conf_validation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c
index bd36fdd2..ccca877b 100644
--- a/src/nxt_conf_validation.c
+++ b/src/nxt_conf_validation.c
@@ -565,7 +565,7 @@ nxt_conf_vldt_processes(nxt_conf_validation_t *vldt, nxt_conf_value_t *value,
return ret;
}
- proc.spare = 1;
+ proc.spare = 0;
proc.max = 1;
proc.idle_timeout = 15;