This commit is contained in:
Jake Barnby 2025-01-23 01:57:23 +13:00
parent e0eea5b13d
commit 343ef4944b
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C
2 changed files with 6 additions and 7 deletions

8
composer.lock generated
View file

@ -3480,12 +3480,12 @@
"source": {
"type": "git",
"url": "https://github.com/utopia-php/database.git",
"reference": "c9170c85c07997fc3718f35928b252062a02070a"
"reference": "fb3fc216f3c8006528f42264216067aceb2f392c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/database/zipball/c9170c85c07997fc3718f35928b252062a02070a",
"reference": "c9170c85c07997fc3718f35928b252062a02070a",
"url": "https://api.github.com/repos/utopia-php/database/zipball/fb3fc216f3c8006528f42264216067aceb2f392c",
"reference": "fb3fc216f3c8006528f42264216067aceb2f392c",
"shasum": ""
},
"require": {
@ -3528,7 +3528,7 @@
"issues": "https://github.com/utopia-php/database/issues",
"source": "https://github.com/utopia-php/database/tree/feat-batch-upsert"
},
"time": "2025-01-22T12:38:29+00:00"
"time": "2025-01-22T12:49:21+00:00"
},
{
"name": "utopia-php/domains",

View file

@ -7,7 +7,6 @@ use Utopia\CLI\Console;
use Utopia\Database\Database;
use Utopia\Database\DateTime;
use Utopia\Database\Document;
use Utopia\Database\Exception\Duplicate;
use Utopia\Database\Exception\NotFound;
use Utopia\Platform\Action;
use Utopia\Queue\Message;
@ -199,7 +198,7 @@ class UsageDump extends Action
'region' => System::getEnv('_APP_REGION', 'default'),
]);
break;
// Database Level
// Database Level
case METRIC_DATABASE_LEVEL_STORAGE:
Console::log('[' . DateTime::now() . '] Database Level Storage Calculation [' . $key . ']');
$databaseInternalId = $data[0];
@ -255,7 +254,7 @@ class UsageDump extends Action
'region' => System::getEnv('_APP_REGION', 'default'),
]);
break;
// Project Level
// Project Level
case METRIC_PROJECT_LEVEL_STORAGE:
Console::log('[' . DateTime::now() . '] Project Level Storage Calculation [' . $key . ']');