mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:02:54 +00:00
Add round
This commit is contained in:
parent
39c2282c12
commit
3f6358c85c
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue