Merge pull request #1044 from annando/rendertime-limit

Rendertime: possibility to define a minimal value for displaying the execution times
pull/1046/head
Hypolite Petovan 2020-11-20 06:58:30 -05:00 committed by GitHub
commit 019bcb4be4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ function rendertime_page_end(Friendica\App $a, &$o)
if ($profiler->isRendertime()) { if ($profiler->isRendertime()) {
$o .= '<pre>'; $o .= '<pre>';
$o .= $profiler->getRendertimeString(); $o .= $profiler->getRendertimeString(DI::config()->get('rendertime', 'minimal_time', 0));
$o .= '</pre>'; $o .= '</pre>';
} }
} }