diff options
author | Skyler Hawthorne | 2022-10-19 01:37:28 +0000 |
---|---|---|
committer | Skyler Hawthorne | 2022-10-19 02:31:39 +0000 |
commit | 9a406b569b1b75c1970b81aac068110232ead2fd (patch) | |
tree | 51ed87bbbdfe6c8538de471f5eec94f0aead5f29 | |
parent | 759d55cc81da10c93f6cbfcbe605806b9dc37d2f (diff) |
reduce LSP timeout to 3s
-rw-r--r-- | helix-view/src/editor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<u64>, ) -> 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() |