Skip to content

Commit

Permalink
Fixed bug on Job Batchs Table (#45263)
Browse files Browse the repository at this point in the history
* 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

Co-authored-by: Taylor Otwell <taylor@laravel.com>
  • Loading branch information
Fairydx and taylorotwell committed Dec 12, 2022
1 parent 662f1bd commit ffb2f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Queue/Console/stubs/batches.stub
Expand Up @@ -19,7 +19,7 @@ return new class extends Migration
$table->integer('total_jobs');
$table->integer('pending_jobs');
$table->integer('failed_jobs');
$table->text('failed_job_ids');
$table->longText('failed_job_ids');
$table->mediumText('options')->nullable();
$table->integer('cancelled_at')->nullable();
$table->integer('created_at');
Expand Down

0 comments on commit ffb2f4e

Please sign in to comment.