Skip to content

Commit

Permalink
fixup! feat: Limit SetupCheck computing time to 5 seconds
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Mar 11, 2024
1 parent 7af84d9 commit 6ae3ba3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/SetupChecks/LogErrors.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ public function run(): SetupResult {
}
$count[$logItem['level']]++;
if (microtime(true) > $startTime + 5) {
echo $logItem['time']."\n";
echo $this->dateFormatter->formatDate($time)."\n";
echo $this->dateFormatter->formatDateTime($time)."\n";
$limit = $time;
break;
}
Expand Down

0 comments on commit 6ae3ba3

Please sign in to comment.