Skip to content

Commit 5c65ff7

Browse files
committed
reduce LSP timeout to 3s
1 parent 80a9b3c commit 5c65ff7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helix-view/src/editor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1323,7 +1323,7 @@ impl Editor {
13231323
timeout: Option<u64>,
13241324
) -> Result<(), tokio::time::error::Elapsed> {
13251325
tokio::time::timeout(
1326-
Duration::from_millis(timeout.unwrap_or(10000)),
1326+
Duration::from_millis(timeout.unwrap_or(3000)),
13271327
future::join_all(
13281328
self.language_servers
13291329
.iter_clients()

0 commit comments

Comments
 (0)