diff options
author | Skyler Hawthorne | 2022-08-07 04:00:15 +0000 |
---|---|---|
committer | Skyler Hawthorne | 2022-10-19 02:31:39 +0000 |
commit | faa00d4cc3de89a89679f6315c0345182929beb2 (patch) | |
tree | b694de9822043484f3e6631c96f32bfb10e7f223 /helix-view | |
parent | 8c667ef8deea1311a8e9569909ac11d79cc993ed (diff) |
increase LSP shutdown timeout
The Clang LAP takes a long time to shut down on Windows
Diffstat (limited to 'helix-view')
-rw-r--r-- | helix-view/src/editor.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index 58fcf238..27b4458f 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -1288,14 +1288,14 @@ impl Editor { } } - /// Closes language servers with timeout. The default timeout is 500 ms, use + /// Closes language servers with timeout. The default timeout is 10000 ms, use /// `timeout` parameter to override this. pub async fn close_language_servers( &self, timeout: Option<u64>, ) -> Result<(), tokio::time::error::Elapsed> { tokio::time::timeout( - Duration::from_millis(timeout.unwrap_or(500)), + Duration::from_millis(timeout.unwrap_or(10000)), future::join_all( self.language_servers .iter_clients() |