reduce LSP timeout to 3s

This commit is contained in:
Skyler Hawthorne 2022-10-18 21:37:28 -04:00
parent 759d55cc81
commit 9a406b569b

View File

@ -1323,7 +1323,7 @@ pub async fn close_language_servers(
timeout: Option<u64>, timeout: Option<u64>,
) -> Result<(), tokio::time::error::Elapsed> { ) -> Result<(), tokio::time::error::Elapsed> {
tokio::time::timeout( tokio::time::timeout(
Duration::from_millis(timeout.unwrap_or(10000)), Duration::from_millis(timeout.unwrap_or(3000)),
future::join_all( future::join_all(
self.language_servers self.language_servers
.iter_clients() .iter_clients()