Skip to main content

Module constants

Module constants 

Source
Expand description

LSP timeout configuration constants

Separated timeout values for different LSP lifecycle phases:

  • Process startup (fast, system-level operation)
  • Server initialization (slow, needs to build indexes)
  • Individual requests (medium, per-call timeout)

Constantsยง

LSP_STARTUP_TIMEOUT_SECSDeprecated
Legacy timeout constant (deprecated)
LSP_WAIT_TIMEOUT_SECS
Legacy wait timeout (backward compatibility)
PROCESS_STARTUP_TIMEOUT
Timeout for starting the LSP server process
REQUEST_TIMEOUT
Timeout for individual LSP requests
SERVER_INIT_TIMEOUT
Timeout for initializing the LSP server