aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-01-29 13:04:46 +0000
committerGitHub <[email protected]>2020-01-29 13:04:46 +0000
commitf7268ddab2fc1483a01e06bfaadc976659a1aadd (patch)
treea89fc6b7049348a99d1fe772b6d592197fb0ffb1 /crates
parentabc5828c057f65c8caa7e1adaca4d55519be457b (diff)
parent7cc0a8652870402db3b072cab030ba28d6b96b39 (diff)
Merge #2938
2938: Fix long loop timeout r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_lsp_server/src/main_loop.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs
index 9901fe931..d850ded37 100644
--- a/crates/ra_lsp_server/src/main_loop.rs
+++ b/crates/ra_lsp_server/src/main_loop.rs
@@ -434,7 +434,7 @@ fn loop_turn(
434 } 434 }
435 435
436 let loop_duration = loop_start.elapsed(); 436 let loop_duration = loop_start.elapsed();
437 if loop_duration > Duration::from_millis(10) { 437 if loop_duration > Duration::from_millis(100) {
438 log::error!("overly long loop turn: {:?}", loop_duration); 438 log::error!("overly long loop turn: {:?}", loop_duration);
439 if env::var("RA_PROFILE").is_ok() { 439 if env::var("RA_PROFILE").is_ok() {
440 show_message( 440 show_message(