Skip to content

Commit

Permalink
Make timers more specific (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
bajb committed Nov 17, 2021
1 parent 186b442 commit 1ae0e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Context/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function (ResponsePreSendHeadersEvent $e) {
/** @var Timer $timer */
foreach($this->_timers as $timer)
{
$timing->add($timer->key(), floor($timer->duration() * 1000), $timer->description());
$timing->add($timer->key(), $timer->duration() * 1000, $timer->description());
}
$response->addHeader($timing);
}
Expand Down

0 comments on commit 1ae0e77

Please sign in to comment.