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

Run edoc chunk generation in spawned process #1484

Merged
merged 1 commit into from
Jan 18, 2024
Merged

Run edoc chunk generation in spawned process #1484

merged 1 commit into from
Jan 18, 2024

Conversation

plux
Copy link
Contributor

@plux plux commented Jan 17, 2024

Doc chunk generation can be very slow, this would cause completion to hang until finished.
Instead we now spawn a process and return after 1 second if it generation hasn't completed.

Add check to only generate doc chunks if the chunk file is missing or not up to date.

Doc chunk generation can be very slow, this would cause completion to hang until
finished. Instead return after 1 second.

Add check to only generate doc chunks if the chunkfile is missing or not up to
date.
@plux plux merged commit 273c857 into main Jan 18, 2024
9 of 12 checks passed
@plux plux deleted the docs-in-background branch January 18, 2024 10:28
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.

1 participant