aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-01-29 13:04:10 +0000
committerAleksey Kladov <[email protected]>2020-01-29 13:04:10 +0000
commit7cc0a8652870402db3b072cab030ba28d6b96b39 (patch)
treea89fc6b7049348a99d1fe772b6d592197fb0ffb1
parentabc5828c057f65c8caa7e1adaca4d55519be457b (diff)
Fix long loop timeout
-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(