1
0
Fork 0
mirror of synced 2024-07-05 14:40:42 +12:00

feat: update log messages

This commit is contained in:
Christy Jacob 2023-06-12 21:10:07 +05:30
parent 56aa30fd52
commit eccde7b1f9
2 changed files with 1 additions and 3 deletions

View file

@ -625,7 +625,7 @@ class DeletesV1 extends Worker
$sum = count($results);
Console::info('Deleting chunk #' . $chunk . '. Found ' . $sum . ' documents in collection ' . '_' . $database->getNamespace() . '_' . $collection);
Console::info('Deleting chunk #' . $chunk . '. Found ' . $sum . ' documents in collection ' . $database->getNamespace() . '_' . $collection);
foreach ($results as $document) {
$this->deleteById($document, $database, $callback);

View file

@ -179,8 +179,6 @@ abstract class Worker
$pools = $register->get('pools'); /** @var \Utopia\Pools\Group $pools */
Console::log("Getting project DB for {$project->getId()}");
if ($project->isEmpty() || $project->getId() === 'console') {
return $this->getConsoleDB();
}