Skip to content

Commit

Permalink
Correct runtime check for formatting with Carbon
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldyrynda committed May 31, 2023
1 parent 0de93aa commit f7c2f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Queue/Console/WorkCommand.php
Expand Up @@ -298,7 +298,7 @@ protected function resolveRunTime()
{
$runTime = number_format((microtime(true) - $this->latestStartedAt) * 1000, 2);

if ($runTime > 1) {
if ($runTime > 1000) {
return CarbonInterval::milliseconds($runTime)->cascade()->forHumans(short: true);
}

Expand Down

0 comments on commit f7c2f55

Please sign in to comment.