Skip to main content

SERVER_INIT_TIMEOUT

Constant SERVER_INIT_TIMEOUT 

Source
pub const SERVER_INIT_TIMEOUT: Duration;
Expand description

Timeout for initializing the LSP server

This includes building workspace indexes, loading dependencies, and preparing the server for use. Large projects (especially Rust) may need 60-120 seconds to fully initialize.

We set this to 120s to accommodate very large Rust projects. If timeout occurs, the process continues running in background and status will be updated when ready.