mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
show time in seconds
This commit is contained in:
parent
5c25b58351
commit
81159e82d5
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class StatsResources extends Action
|
|||
$this->countForProject($dbForPlatform, $getLogsDB, $getProjectDB, $project);
|
||||
$endTime = microtime(true);
|
||||
$executionTime = $endTime - $startTime;
|
||||
Console::info('Project: ' . $project->getId() . '(' . $project->getInternalId() . ') aggregated in ' . date('H:i:s.u', intval($executionTime)) .'');
|
||||
Console::info('Project: ' . $project->getId() . '(' . $project->getInternalId() . ') aggregated in ' . $executionTime .' seconds');
|
||||
}
|
||||
|
||||
protected function countForProject(Database $dbForPlatform, callable $getLogsDB, callable $getProjectDB, Document $project): void
|
||||
|
|
|
|||
Loading…
Reference in a new issue