mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
refactor usage poc
This commit is contained in:
@@ -86,10 +86,11 @@ class UsageDump extends Action
|
||||
]));
|
||||
} catch (Duplicate $th) {
|
||||
if ($value < 0) {
|
||||
var_dump([
|
||||
'id' => $time . '_' . $period . '_' . $key,
|
||||
'value' => $value,
|
||||
]);
|
||||
//Todo debug (to be removed laster @shimon)
|
||||
// var_dump([
|
||||
// 'id' => $time . '_' . $period . '_' . $key,
|
||||
// 'value' => $value,
|
||||
// ]);
|
||||
$dbForProject->decreaseDocumentAttribute(
|
||||
'stats_v2',
|
||||
$id,
|
||||
|
||||
Reference in New Issue
Block a user