Skip to content

Handle case with slow markdown parsing. - #419

Merged
jwr1 merged 1 commit into
mainfrom
fix_markdown_slow
Sep 3, 2026
Merged

Handle case with slow markdown parsing.#419
jwr1 merged 1 commit into
mainfrom
fix_markdown_slow

Conversation

@olorin99

@olorin99 olorin99 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Skip parsing post as markdown if content is too long and has no whitespace.

Handles cases as mentioned in https://kbin.earth/m/interstellar/t/3122793.
The post mentioned in the link has 42173 characters and no whitespace. I set the cutoff length to 10000 characters which I figure is plenty.

@jwr1
jwr1 merged commit 1304793 into main Sep 3, 2026
3 checks passed
@jwr1
jwr1 deleted the fix_markdown_slow branch September 3, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants