moving structure works back to jobs

This commit is contained in:
2019-05-30 19:47:40 -05:00
parent 57dc1f2c4d
commit 4f272fc3a1
4 changed files with 5 additions and 41 deletions
+2 -10
View File
@@ -106,22 +106,14 @@ class GetStructuresCommand extends Command
Log::critical("Failed to get structure list.");
return null;
}
for($i = 1; $i <= $structures->pages; $i++) {
$sHelper = new StructureHelper($charId, $corpId, $i);
$sHelper->Start();
}
/*
for($i = 1; $i <= $structures->pages; $i++) {
$job = new JobProcessStructure;
$job->charId = $charId;
$job->corpId = $corpId;
$job->page = $i;
ProcessStructureJob::dispatch($job)->onQueue('structures');
}
*/
}
//Mark the job as finished
$task->SetStopStatus();