mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
updated reset of the stats usage worker to reset metrics
This commit is contained in:
1 parent
532ec364d2
commit
bf84144201
1 file changed
+7
@@ -86,4 +86,11 @@ class StatsUsage extends Event
|
||||
}),
|
||||
];
|
||||
}
|
||||
|
||||
public function reset(): Event
|
||||
{
|
||||
$this->metrics = [];
|
||||
parent::reset();
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user