reduce LSP timeout to 3s

pull/2267/head
Skyler Hawthorne 2 years ago
parent 759d55cc81
commit 9a406b569b

@ -1323,7 +1323,7 @@ impl Editor {
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()

Loading…
Cancel
Save