Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Jan 7, 2026

Backport of PR #1859

- when requesting getLastItem(), logIteratorFactory->getLogIterator() creates a new LogIterator(), which in construct calls $this->rewind() -> $this->next(). So this should already return a last known line in the file, there is no need for $iterator->next() to be called again

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
@Antreesy Antreesy merged commit 45b42ce into stable31 Jan 8, 2026
31 checks passed
@Antreesy Antreesy deleted the backport/1859/stable31 branch January 8, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants