diff --git a/src/php.ini b/src/php.ini index bdda2227..5c75488e 100644 --- a/src/php.ini +++ b/src/php.ini @@ -9,6 +9,11 @@ error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT memory_limit=10240M +; PHP-FPM defaults to 30 seconds of CPU time, whatever the timeout of the Lambda function. +; Bref stops PHP-FPM requests before the Lambda timeout instead (that limit counts the time spent waiting). +; The CLI already has no limit. +max_execution_time=0 + opcache.enable=1 opcache.enable_cli=1 diff --git a/tests/test_5_fpm_handler.php b/tests/test_5_fpm_handler.php index 5af8df72..7da7d762 100644 --- a/tests/test_5_fpm_handler.php +++ b/tests/test_5_fpm_handler.php @@ -1,5 +1,7 @@