Skip to content

Commit

Permalink
use microtime
Browse files Browse the repository at this point in the history
  • Loading branch information
timkelty committed Nov 22, 2023
1 parent 86a3efc commit 93422d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/event/CliHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function getTotalRunningTime(): float
return $this->totalRunningTime;
}

return time() - $this->process->getStartTime();
return microtime(true) - $this->process->getStartTime();
}

public function shouldRetry(): bool
Expand Down

0 comments on commit 93422d2

Please sign in to comment.