Skip to content

Commit

Permalink
don't limit the line length when reading
Browse files Browse the repository at this point in the history
  • Loading branch information
arukompas committed Sep 26, 2023
1 parent f565a70 commit 1fa7e3f
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 1fa7e3f

Please sign in to comment.