Changed the default number of spare processes to 0.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user