Fixed error message about "spare" value.

This commit is contained in:
Valentin Bartenev
2018-07-02 18:19:00 +03:00
parent 145d895430
commit 0366bfad6d

View File

@@ -659,7 +659,7 @@ nxt_conf_vldt_processes(nxt_conf_validation_t *vldt, nxt_conf_value_t *value,
if (proc.max < proc.spare) { if (proc.max < proc.spare) {
return nxt_conf_vldt_error(vldt, "The \"spare\" number must be " return nxt_conf_vldt_error(vldt, "The \"spare\" number must be "
"lower than \"max\"."); "less than or equal to \"max\".");
} }
if (proc.idle_timeout < 0) { if (proc.idle_timeout < 0) {