Skip to content

Commit

Permalink
Logger: For timer use ms.
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek committed Jul 16, 2021
1 parent 42ed715 commit 207696f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Logger/AbstractLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function getTimer(): float
{
$sum = 0;
foreach ($this->events as $query) {
$sum += $query->getDuration() ?? 0;
$sum += $query->getDurationMs() ?? 0;
}

return (float) $sum;
Expand Down

0 comments on commit 207696f

Please sign in to comment.