0.1.4
This commit is contained in:
@@ -4,15 +4,13 @@ namespace App\Jobs;
|
||||
|
||||
use App\Models\Author;
|
||||
use App\Models\Comic;
|
||||
use App\Models\Image;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Queue\Queueable;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use romanzipp\QueueMonitor\Traits\IsMonitored;
|
||||
|
||||
class ComicUpsert implements ShouldQueue
|
||||
{
|
||||
use IsMonitored, Queueable;
|
||||
use Queueable;
|
||||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
@@ -26,7 +24,6 @@ class ComicUpsert implements ShouldQueue
|
||||
*/
|
||||
public function handle(): void
|
||||
{
|
||||
$this->queueProgress(0);
|
||||
Log::info("JOB ComicUpsert START");
|
||||
|
||||
$comicsUpsertArray = [];
|
||||
@@ -66,6 +63,5 @@ class ComicUpsert implements ShouldQueue
|
||||
}
|
||||
|
||||
Log::info('JOB ComicUpsert END');
|
||||
$this->queueProgress(100);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user