Log the time as decimal

2022.09-rc
Michael 2019-02-27 09:12:40 +00:00
rodzic 78960d4bde
commit 505a34d40e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -436,7 +436,7 @@ class Worker
$logger->info('Longer than 2 minutes.', ['priority' => $queue["priority"], 'id' => $queue["id"], 'duration' => round($duration/60, 3)]);
}
$workerLogger->info('Process done.', ['priority' => $queue["priority"], 'id' => $queue["id"], 'duration' => number_format($duration, 4)]);
$workerLogger->info('Process done.', ['priority' => $queue["priority"], 'id' => $queue["id"], 'duration' => round($duration, 3)]);
$a->getProfiler()->saveLog($a->getLogger(), "ID " . $queue["id"] . ": " . $funcname);