Skip to content

Conversation

@artmoskvin
Copy link
Collaborator

Fixes #100

I verified the instructions by renting a clean Ubuntu machine and building Hide from source there. It turns out that Pyright installs Node.js (if not available) on the first run so I believe that caused the original problem. I also noticed that for dependency heavy projects and for large devcontainer images the latency for project creation can be higher than 60 sec so I increased the server read and write timeouts. In long term, I believe we should replace such long requests with an immediate response containing a project id and an endpoint to check the project state.

@aleh-null
Copy link
Collaborator

Fixes #100

I verified the instructions by renting a clean Ubuntu machine and building Hide from source there. It turns out that Pyright installs Node.js (if not available) on the first run so I believe that caused the original problem. I also noticed that for dependency heavy projects and for large devcontainer images the latency for project creation can be higher than 60 sec so I increased the server read and write timeouts. In long term, I believe we should replace such long requests with an immediate response containing a project id and an endpoint to check the project state.

Let's start by deferring file reads. I think it will speed up things a lot.

@artmoskvin artmoskvin merged commit fca7d14 into main Sep 13, 2024
@artmoskvin artmoskvin deleted the artm/update-docs branch September 13, 2024 11:22
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.

Failed to start language server

3 participants