[core] ignore server.max-worker = 1
treat server.max-worker = 1 as equivalent to server.max-worker = 0,
which is the default (no worker subprocesses).
@@ -1150,6 +1150,9 @@ static int server_main_setup (server * const srv, int argc, char **argv) {
return -1;
}
+ if (1 == srv->srvconf.max_worker)
+ srv->srvconf.max_worker = 0;
+
if (print_config) {
config_print(srv);
puts(srv->tmp_buf->ptr);
