modified queues
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user