Hangs on very long lines
Rictus opened this issue · comments
It seems toolong hangs indefinitly when it encounters a line that is... toolong :)
This issue exists for toolong 1.5.0, I don't reproduce with toolong 1.4.0
Here's a test file
root.log.139.txt
And here's a capture of htop
I'll take a look at the code and make a PR if I can find the time.
Edit: Looks like it's the RegexLogFormat that takes too much time to resolve
Thanks
Hello @willmcgugan
Do you think there is more work to be done or maybe it's the wrong direction?
Thanks!
Just ran into this with a .jsonl file that contained a very long traceback. Hangs on opening with 1.5.0.
(Indeed, 1.4.0 does open the file, but the entries are mangled in the main window and split across multiple lines.)