Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Lack of Memory when failing a job with wrong variable passed on…
… the method fail() (#45291) * Fixed bug on Batchs Jobs Table If the batch has more than 1000 errors the function Bus::findBatch() fails because the database cuts down the words when reach is limit and then the seventh argument returns null because can't be json decoded. * Update batches.stub * Fixed Lack of Memory when failing a job Added validation to ensure that the $exception is a Throwable instance or is null, because if we pass another type of variable in the fail() method, the fail method enters an infinite loop until the php process crashes due to lack of memory * Update InteractsWithQueue.php Co-authored-by: Taylor Otwell <taylor@laravel.com>
- Loading branch information