From: Lee Hsun Date: Tue, 30 Jan 2018 12:49:47 +0000 (+0800) Subject: Set max_requests to 0 X-Git-Tag: php-7.3.0alpha1~494 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b19f710e1e594f8f835ee3f12e8879a857fc3df;p=php Set max_requests to 0 The value will always be overwritten by fpm_run(), and the default value there is 0 and not 500. --- diff --git a/sapi/fpm/fpm/fpm_main.c b/sapi/fpm/fpm/fpm_main.c index cd391606e1..2632f2aa58 100644 --- a/sapi/fpm/fpm/fpm_main.c +++ b/sapi/fpm/fpm/fpm_main.c @@ -1583,7 +1583,7 @@ int main(int argc, char *argv[]) void ***tsrm_ls; #endif - int max_requests = 500; + int max_requests = 0; int requests = 0; int fcgi_fd = 0; fcgi_request *request;