Skip to content

Commit d6c71b5

Browse files
committed
Adding increased memory limit and timeout to allow php to finish longer processes
1 parent e16a56d commit d6c71b5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build/nginx/deploy.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ server {
2020
fastcgi_param SCRIPT_FILENAME $symfonyRoot/$symfonyScript;
2121
fastcgi_param SCRIPT_NAME /udoit3/$symfonyScript;
2222
fastcgi_param REQUEST_URI /udoit3$uri?$args;
23-
fastcgi_read_timeout 180;
23+
fastcgi_read_timeout 300;
2424
}
2525

2626
# return 404 for all other php files not matching the front controller

build/nginx/php-custom.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
max_execution_time = 180
2-
memory_limit = 800M
1+
max_execution_time = 300
2+
memory_limit = 3500M
33
upload_max_filesize = 10M
44
post_max_size = 10M

0 commit comments

Comments
 (0)