modified queues

This commit is contained in:
2019-05-14 00:55:58 -05:00
parent deeb585e40
commit bd43e03d1b
3 changed files with 3 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ class CorpJournalCommand extends Command
$job->division = 1; $job->division = 1;
$job->charId = $structure->character_id; $job->charId = $structure->character_id;
$job->page = $i; $job->page = $i;
ProcessWalletJournalJob::dispatch($job)->onQueue('default'); ProcessWalletJournalJob::dispatch($job);
} }
} }
} }

View File

@@ -64,7 +64,7 @@ class HoldingFinancesCommand extends Command
$job->division = 1; $job->division = 1;
$job->charId = 93738489; $job->charId = 93738489;
$job->page = $i; $job->page = $i;
ProcessWalletJournalJob::dispatch($job)->onQueue('default'); ProcessWalletJournalJob::dispatch($job);
} }
//Mark the job as finished //Mark the job as finished

View File

@@ -106,7 +106,7 @@ class MoonMailerCommand extends Command
$mail->body = $body; $mail->body = $body;
$mail->recipient = (int)$contact; $mail->recipient = (int)$contact;
$mail->recipient_type = 'character'; $mail->recipient_type = 'character';
SendEveMailJob::dispatch($mail)->onQueue('default'); SendEveMailJob::dispatch($mail)->onQueue('mail');
//After the mail is dispatched, saved the sent mail record //After the mail is dispatched, saved the sent mail record
$this->SaveSentRecord($mail->sender, $mail->subject, $mail->body, $mail->recipient, $mail->recipient_type); $this->SaveSentRecord($mail->sender, $mail->subject, $mail->body, $mail->recipient, $mail->recipient_type);