]> git.mxchange.org Git - friendica.git/blobdiff - src/App/Router.php
Add round
[friendica.git] / src / App / Router.php
index 90c5bcfad96f46606d9aadfc6f251db448e9dded..ffd1c03bd08db467117856837245aff6dd75fc4e 100644 (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]);
                                }
                        }
                }