added jobs back in for the fetching and processing the mining ledgers

those jobs were taking extremely long times to complete, and jobs are better suited for them.
This commit is contained in:
2021-03-15 19:38:06 +09:00
parent 4c281934ff
commit 0ee3699b44
6 changed files with 238 additions and 139 deletions
@@ -107,9 +107,10 @@ class MiningTaxesObservers extends Command
$date = Carbon::now()->subDays(60);
Observer::where('last_updated', '<', $date)->delete();
//Set the task as completed
$task->SetStopStatus();
//Set the end time for debugging and printint out to the screen
$endTime = time();
printf("Time to complete: " . ($endTime - $startTime) . "\n\r");