mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
updated reset of the stats usage worker to reset metrics
This commit is contained in:
parent
743bcceb56
commit
f067d1fadf
1 changed files with 7 additions and 0 deletions
|
|
@ -85,4 +85,11 @@ class StatsUsage extends Event
|
|||
}),
|
||||
];
|
||||
}
|
||||
|
||||
public function reset(): Event
|
||||
{
|
||||
$this->metrics = [];
|
||||
parent::reset();
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue