mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
reduce LSP timeout to 3s
This commit is contained in:
parent
759d55cc81
commit
9a406b569b
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user