fix: increase Language Server startup timeout from 20s to 40s
Description
Increase the Language Server startup timeout from 20 seconds to 40 seconds. The 20s limit introduced in !3167 (merged) is still too short for some environments (e.g. Windows, cloud workstations) where the LSP initialize handshake can take over 20 seconds to complete, as observed in the field.
The LS_STARTUP_TIMEOUT_MS named constant is already in place, so this is a single-line change. The error message automatically reflects the new value via LS_STARTUP_TIMEOUT_MS / 1000.
Hotfix for: #2240 (closed)
Related Issues
Relates to #2240 (closed)
How has this been tested?
-
Manually verified the constant and error message are consistent (error message will now read "40 seconds").
-
No existing tests reference the hardcoded timeout value.
-
If
src/browserorsrc/commonhas been modified, please consider interoperability with the Web IDE. See Running the Extension in WebIDE. -
Consider an end-to-end test for significant new features that aren't covered by integration tests.
Screenshots (if appropriate)
N/A
What CHANGELOG entry will this MR create?
-
fix:Bug fix fixes - a user-facing issue in production - included in changelog -
feature:New feature - a user-facing change which adds functionality - included in changelog -
BREAKING CHANGE:(fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog - None - other non-user-facing changes