modified update wallet journal job to dispatch multiple jobs

This commit is contained in:
2021-04-24 02:03:01 +09:00
parent 9aae7e44ec
commit adbf3297c4
2 changed files with 1 additions and 18 deletions

View File

@@ -50,23 +50,6 @@ class UpdateAllianceWalletJournal extends Command
*/
public function handle()
{
//Declare variables
$fHelper = new FinanceHelper;
$config = config('esi');
$task = new CommandHelper('UpdateAllianceWalletJournal');
//Set the task as started
$task->SetStartStatus();
$startTime = time();
UpdateAllianceWalletJournalJob::dispatch();
$endTime = time();
printf("Updating the wallets took " . ($endTime - $startTime) . " seconds.\r\n");
//Set the task as stopped
$task->SetStopStatus();
return 0;
}
}

View File

@@ -161,7 +161,7 @@ class FinanceHelper {
/**
* Get the pages for the alliance wallet journal
*/
public function GetAllianceWalletJournalPages() {
public function GetAllianceWalletJournalPages($division, $charId) {
$lookup = new LookupHelper;
$esiHelper = new Esi;