Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash with concurrent loading of shiki syntaxes #2235

Merged

Conversation

SamyPesse
Copy link
Member

@SamyPesse SamyPesse commented Mar 26, 2024

There seems to be an issue in Shiki when loading multiple languages in parallel; it's not easily reproducible and depends on the order of the languages. I fix it by loading them one after the other, which is fine as most of the execution is CPU-based (dynamic import uses little I/O).

Copy link

linear bot commented Mar 26, 2024

@SamyPesse SamyPesse merged commit 0d99906 into main Mar 26, 2024
7 of 8 checks passed
@SamyPesse SamyPesse deleted the samy/rnd-3390-docscountercyclicalio-crashing-in-production branch March 26, 2024 10:30
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