diff --git a/core/init.c b/core/init.c index 1099b95e..ac017896 100644 --- a/core/init.c +++ b/core/init.c @@ -398,6 +398,7 @@ void sanitize_args() { uwsgi.ignore_write_errors = 1; } + if (uwsgi.cheaper_count == 0) uwsgi.cheaper = 0; if (uwsgi.cheaper_count > 0 && uwsgi.cheaper_count >= uwsgi.numproc) { uwsgi_log("invalid cheaper value: must be lower than processes\n");