]> granicus.if.org Git - php/commitdiff
Set max_requests to 0
authorLee Hsun <speachlesslee@gmail.com>
Tue, 30 Jan 2018 12:49:47 +0000 (20:49 +0800)
committerNikita Popov <nikita.ppv@gmail.com>
Sat, 3 Feb 2018 15:15:12 +0000 (16:15 +0100)
The value will always be overwritten by fpm_run(), and the default
value there is 0 and not 500.

sapi/fpm/fpm/fpm_main.c

index cd391606e10c5eb5948d64856425bb3f92da9b93..2632f2aa58a3da14da68bca32573605771491624 100644 (file)
@@ -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;