Laravel Version
11.26
PHP Version
8.3
Database Driver & Version
Postgresql 16 self hosted on ubuntu 24
Description
upgraded to laravel 11.x from 10.x and still has app/Http/Kernel.php file, adding InvokeDeferredCallbacks to my Kernel.php already like the documentation told (here), but i think the helper didn't work correctly
Steps To Reproduce
Route::get('/testingDefer', function () {
defer(function () {
sleep(10);
});
return true;
});
just a simple test, i did some complex code before but simple test are enough to reproduce
