A simple CPU rendered GUI IDE experience.
Diffstat (limited to 'src/lsp.rs')
-rw-r--r--src/lsp.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lsp.rs b/src/lsp.rs
index e5b1ce3..07ff21c 100644
--- a/src/lsp.rs
+++ b/src/lsp.rs
@@ -174,6 +174,7 @@ pub fn run(
ch_tx: ch_tx.clone(),
progress: Box::leak(Box::new(papaya::HashMap::new())),
runtime: tokio::runtime::Builder::new_multi_thread()
+ .worker_threads(2)
.thread_name("lsp runtime")
.build()
.unwrap(),