1
0
Fork 0
mirror of synced 2024-06-01 10:29:48 +12:00

remove debug lines

This commit is contained in:
shimon 2024-02-07 11:54:18 +02:00
parent 6a6c3445fa
commit 93a99b561c
2 changed files with 0 additions and 13 deletions

View file

@ -43,14 +43,6 @@ class Usage extends Event
*/
public function addMetric(string $key, int $value): self
{
//Todo debug (to be removed later @shimon)
// if ($key === 'users') {
// if ($value < 0) {
// console::log('@negative=' . $value);
// } else {
// console::log('@positive=' . $value);
// }
// }
$this->metrics[] = [
'key' => $key,
'value' => $value,

View file

@ -86,11 +86,6 @@ class UsageDump extends Action
]));
} catch (Duplicate $th) {
if ($value < 0) {
//Todo debug (to be removed later @shimon)
// var_dump([
// 'id' => $time . '_' . $period . '_' . $key,
// 'value' => $value,
// ]);
$dbForProject->decreaseDocumentAttribute(
'stats_v2',
$id,