-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
harper-ls --stdio using too many threads #198
Comments
This should be configured by tokio to be the number of cores on your machine, how many do you have? |
I probably have around 128 cores. Do you know how to configure this using? I definitely do not think the program should be allowed to use all the cores. It should be limited to 2, at most 3. I am seeing the same problem with pyright, BTW. |
Ah. This should be a simple fix. We'll set |
@grantlemons drafted a fix and it has been merged. I'm going to spend some time with Harper this afternoon to make sure everything checks out before creating a release. At that point, you can confirm that the problem is fixed. |
@grantlemons Thanks, could you please make another tag, 0.12.0? I am using Mason and this seems to download the latest tag. |
Hi,
I just downloaded this with Mason and I am using it with neovim. I suddenly found out that I cannot spawn threads and when I check with htop I see that harper-ls is using about 150 theads:
Why is this happening? How can I configure this tool to use only one thread?
Cheers.
The text was updated successfully, but these errors were encountered: