Skip to content

Commit

Permalink
Decrease the default timeout when closing language servers
Browse files Browse the repository at this point in the history
  • Loading branch information
irh committed Jan 27, 2025
1 parent 68f5ecc commit c1da2d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-view/src/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2082,7 +2082,7 @@ impl Editor {
}

tokio::time::timeout(
Duration::from_millis(timeout.unwrap_or(3000)),
Duration::from_millis(timeout.unwrap_or(1000)),
future::join_all(
self.language_servers
.iter_clients()
Expand Down

0 comments on commit c1da2d0

Please sign in to comment.