Add round

pull/11086/head
Philipp 2021-12-10 21:18:43 +01:00
parent 39c2282c12
commit 3f6358c85c
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ class Router
if ($this->dice_profiler_threshold > 0) {
$dur = floatval(microtime(true) - $stamp);
if ($dur >= $this->dice_profiler_threshold) {
$this->logger->warning('Dice module creation lasts too long.', ['duration' => $dur, 'module' => $module_class, 'parameters' => $module_parameters]);
$this->logger->warning('Dice module creation lasts too long.', ['duration' => round($dur, 3), 'module' => $module_class, 'parameters' => $module_parameters]);
}
}
}