You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 -d to start the app.
Run artisan install:api to add the routes/api.php file. 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'
]);
});
Hi! This is now resolved. So it turned out that it was Laravel Octane that decides the max_execution_time. To solve this issue, you should publish the octane.php config file first via artisan vendor:publish, then you should look for the max_execution_time and update it.
Activity
luchfirearmland commentedon Feb 18, 2026
Hi! This is now resolved. So it turned out that it was Laravel Octane that decides the
max_execution_time. To solve this issue, you should publish theoctane.phpconfig file first viaartisan vendor:publish, then you should look for themax_execution_timeand update it.jaydrogers commentedon Sep 10, 2026
Just adding a note this is related to this discussion and requires a feature enhancement: