From bfe5c459d93e7f7d577a764a3031864539a617f3 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Fri, 3 May 2019 23:46:03 -0500 Subject: [PATCH] corp journal job added to cron for testing --- app/Console/Commands/corpJournal.php | 1 - app/Jobs/ProcessWalletJournalJob.php | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/corpJournal.php b/app/Console/Commands/corpJournal.php index 8e8bebe11..7cd4341d6 100644 --- a/app/Console/Commands/corpJournal.php +++ b/app/Console/Commands/corpJournal.php @@ -79,7 +79,6 @@ class CorpJournalCommand extends Command $job->division = 1; $job->charId = $charId->character_id; $job->page = $i; - $job->save(); ProcessWalletJournalJob::dispatch($job); } } diff --git a/app/Jobs/ProcessWalletJournalJob.php b/app/Jobs/ProcessWalletJournalJob.php index 450148233..dca2d743f 100644 --- a/app/Jobs/ProcessWalletJournalJob.php +++ b/app/Jobs/ProcessWalletJournalJob.php @@ -24,7 +24,9 @@ class ProcessWalletJournalJob implements ShouldQueue * * @var int */ - public $timeout = 600; + public $timeout = 300; + + public $tries = 3; /** * Create a new job instance.