-
-
Notifications
You must be signed in to change notification settings - Fork 176
Open
Labels
🧐 Bug: Needs ConfirmationSomething isn't working, but needs to be confirmed by a team member.Something isn't working, but needs to be confirmed by a team member.
Description
Steps To Reproduce
- Create a new Laravel app with just the FrankenPHP + PHP 8.5 + Octane + SQLite setup.
- Add these to the
docker-compose.dev.ymlspecifically on thephpservice.
environment:
PHP_POST_MAX_SIZE: "1024M"
PHP_UPLOAD_MAX_FILE_SIZE: "1024M"
PHP_MAX_EXECUTION_TIME: "900"
REQUEST_MAX_EXECUTION_TIME: "900"
- As you can see, the execution time should be set to 900. Expectation would be it will timeout after 15 minutes. You can lower this value to 3 minutes if you want.
- Run
spin up -dto start the app. - Run
artisan install:apito add theroutes/api.phpfile. Then add a route like so:
// Added a 31-second sleep to test if the 30s default is changed.
Route::get('31-seconds', function () {
sleep(31);
return response()->json([
'message' => 'Hello World'
]);
});
- Open any browser and open this URL: https://laravel.dev.test/api/31-seconds
- You should see this error:
Outcome
What did you expect?
It should override the 30s default max timeout.
What happened instead?
It's not overriding the max timeout.
Affected Docker Images
FrankenPHP variants probably
Anything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🧐 Bug: Needs ConfirmationSomething isn't working, but needs to be confirmed by a team member.Something isn't working, but needs to be confirmed by a team member.