Repository navigation
fix(logging): show new entries when tens of thousands were logged - #2440
Open
DerDreschner wants to merge 1 commit into
Open
DerDreschner wants to merge 1 commit into
DerDreschner wants to merge 1 commit into
Conversation
New log entries were added with one splice() call that gets each entry as an argument. Chromium runs out of stack from about 60,000 entries. The live view then stopped showing new entries, and every poll downloaded all of them again. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: David Dreschner <david.dreschner@nextcloud.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fixes the stuck Chromium from #2439. The other problems there need the API change proposed in the ticket.
New log entries were added with one
splice()call that gets each entry as an argument. From about 60,000 new entries between two polls, Chromium runs out of stack. The live view then shows no new entries, and every poll downloads all of them again (14 MB for 70,000 entries). Firefox isn't affected.They're now added with
concat(), which gets them as one list. The same lines are on stable33 to stable35.Testing
splice().master, Chromium keeps showing the old entries.🤖 AI (if applicable)