on master help sign in
reduce LSP timeout to 3s
9a406b5Skyler Hawthorne
helix-view/src/editor.rs+1−1
@@ -1323,7 +1323,7 @@ impl Editor {
1323 timeout: Option<u64>,
1323 timeout: Option<u64>,
1324 ) -> Result<(), tokio::time::error::Elapsed> {
1324 ) -> Result<(), tokio::time::error::Elapsed> {
1325 tokio::time::timeout(
1325 tokio::time::timeout(
1326− Duration::from_millis(timeout.unwrap_or(10000)),
1326+ Duration::from_millis(timeout.unwrap_or(3000)),
1327 future::join_all(
1327 future::join_all(
1328 self.language_servers
1328 self.language_servers
1329 .iter_clients()
1329 .iter_clients()