Skip to content

Commit

Permalink
Merge pull request #282 from opcodesio/dont-limit-first-line-length
Browse files Browse the repository at this point in the history
don't limit the line length when reading
  • Loading branch information
arukompas authored Sep 26, 2023
2 parents f565a70 + 1fa7e3f commit 7e6908c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Readers/IndexedLogReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function scan(int $maxBytesToScan = null, bool $force = false): static
while (
(! isset($lastPositionToScan) || $currentLogPosition < $lastPositionToScan)
&& ($stopScanningAfter > microtime(true))
&& ($line = fgets($this->fileHandle, 1024)) !== false
&& ($line = fgets($this->fileHandle)) !== false
) {
$matches = [];
$ts = null;
Expand Down

0 comments on commit 7e6908c

Please sign in to comment.