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

nixd/lspserver: fix high cpu on fd polling #628

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

jduepmeier
Copy link
Contributor

Fixes #627

@jduepmeier jduepmeier requested a review from inclyc as a code owner December 16, 2024 22:26
Copy link
Member

@inclyc inclyc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

I’m not sure why the CI is failing, but I don’t believe it’s caused by your commit. Lets figure it out before merging.

@jduepmeier
Copy link
Contributor Author

looks like it tries to compile with llvm-18 and not llvm-16 (as defined in the flake)

@inclyc
Copy link
Member

inclyc commented Dec 20, 2024

looks like it tries to compile with llvm-18 and not llvm-16 (as defined in the flake)

Yes I think that's the problem. However I didn't push any commit before your PR, and previously it was correct, don't know why meson uses llvm-18.

@inclyc
Copy link
Member

inclyc commented Dec 23, 2024

I think it is caused by the upgrading to ubuntu 24.04 by github. So I fixed the runner version tag, and rebased your branch.

@inclyc inclyc merged commit 0cf04dc into nix-community:main Dec 23, 2024
19 checks passed
@inclyc
Copy link
Member

inclyc commented Dec 23, 2024

Wait, this commit triggers CI error after merged:

regression/nixd TIMEOUT 60.16s killed by signal 15 SIGTERM

I think it is caused by a slow runner on github, sigh.

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.

high cpu load on hangup/close of the file descriptor
2 participants