1
0
Fork 0
mirror of synced 2024-10-01 17:58:02 +13:00

Improve logging

This commit is contained in:
Matej Bačo 2023-12-20 12:31:35 +01:00
parent 05f8f8fb9d
commit 0529cffa4b

View file

@ -91,6 +91,8 @@ class CreateInfMetric extends Action
->get($db)
->reclaim();
}
Console::log('Finished project ' . $project->getId() . ' ' . $project->getInternalId());
}
$sum = \count($projects);
@ -120,8 +122,6 @@ class CreateInfMetric extends Action
$dbForProject->deleteDocument('stats_v2', $id);
echo "_inf_{$metric} , $value \n";
$dbForProject->createDocument('stats_v2', new Document([
'$id' => $id,
'metric' => $metric,