We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b9a277 commit a863e13Copy full SHA for a863e13
sqlmesh/lsp/main.py
@@ -104,6 +104,10 @@ def __init__(
104
:param context_class: A class that inherits from `Context`.
105
:param server_name: Name for the language server.
106
:param version: Version string.
107
+
108
+ Note:
109
+ The `max_workers=1` parameter is set for the `LanguageServer` to ensure compatibility with VSCode.
110
+ VSCode's LSP client has threading and concurrency requirements that necessitate single-worker mode.
111
"""
112
self.server = LanguageServer(server_name, version, max_workers=1)
113
self.context_class = context_class
0 commit comments