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(health.lua): increased version check cmd timeout #3601

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

snowdroppe
Copy link
Contributor

Problem:
LspInfo returns '?' for version string when using the codeqlls language server. This is because codeql is slow to return its version number due to the underlying JVM.

Solution:
Increase the timeout from 300ms to 500ms.
1000 iterations of codeql version resulted in (349 +- 13) ms which informed the choice of 500ms.

Problem:
LspInfo returns '?' for version string when using the codeqlls
language server. This is because codeql is slow to return its
version number due to the underlying JVM.

Solution:
Increase the timeout from 300ms to 500ms.
1000 iterations of `codeql version` resulted in (349 +- 13) ms
which informed the choice of 500ms.
@snowdroppe snowdroppe requested a review from glepnir as a code owner February 3, 2025 18:08
@glepnir glepnir merged commit 66bc018 into neovim:master Feb 4, 2025
11 checks passed
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