From 9a406b569b1b75c1970b81aac068110232ead2fd Mon Sep 17 00:00:00 2001 From: Skyler Hawthorne Date: Tue, 18 Oct 2022 21:37:28 -0400 Subject: reduce LSP timeout to 3s --- helix-view/src/editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-view') diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index ee84dbd3..cd2b1ad4 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -1323,7 +1323,7 @@ impl Editor { timeout: Option, ) -> Result<(), tokio::time::error::Elapsed> { tokio::time::timeout( - Duration::from_millis(timeout.unwrap_or(10000)), + Duration::from_millis(timeout.unwrap_or(3000)), future::join_all( self.language_servers .iter_clients() -- cgit v1.2.3-70-g09d2