-
Notifications
You must be signed in to change notification settings - Fork 322
Closed
Description
- Octane Version: 1.1.1
- Laravel Version: 8.77.1
- PHP Version: 8.1.0
- Server & Version: Swoole 4.8.3
Description:
When the execution time for requests being handled by Octane exceeded from max_execution_time in octane.php config file, the Octane wouldn't send any response and the request remains in the pending state.
Steps To Reproduce:
Set max_execution_time to 2 seconds in octane.php:
// config/octane.php
return [
'max_execution_time' => 2,
];and try:
Route::get('/foo', function() {
sleep(3);
return 'bar';
});I know this may be a Swoole bug. So if confirmed, I'll open an issue on the Swoole repo.
Metadata
Metadata
Assignees
Labels
No labels